home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_8_QH FullTextSearch1.txt < prev    next >
Text File  |  1995-09-30  |  420KB  |  7,741 lines

  1. # near model CODE resource
  2. # jump table entries: 60256-60307 (52 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  EB60                     asl        D0.w, D5
  5. 00000004  0000 4F5A                ori.b      D0, 0x5A /* 'Z' */
  6. 00000008  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  7. 0000000C  4FEF FF94                lea.l      A7, [A7 - 0x6C]
  8. 00000010  2C6F 0094                movea.l    A6, [A7 + 0x94]
  9. 00000014  246E 0008                movea.l    A2, [A6 + 0x8]
  10. 00000018  266E 0004                movea.l    A3, [A6 + 0x4]
  11. 0000001C  246E 0008                movea.l    A2, [A6 + 0x8]
  12. 00000020  7801                     moveq.l    D4, 0x01
  13. 00000022  7A01                     moveq.l    D5, 0x01
  14. 00000024  7600                     moveq.l    D3, 0x00
  15. 00000026  7C00                     moveq.l    D6, 0x00
  16. 00000028  4257                     clr.w      [A7]
  17. 0000002A  426E 0012                clr.w      [A6 + 0x12]
  18. 0000002E  426E 0018                clr.w      [A6 + 0x18]
  19. 00000032  6016                     bra        +0x18 /* 0000004A */
  20. label00000034:
  21. 00000034  7000                     moveq.l    D0, 0x00
  22. 00000036  1012                     move.b     D0, [A2]
  23. 00000038  C1FC 0006                muls.w     D0, 0x6
  24. 0000003C  206D 9E32                movea.l    A0, [A5 - 0x61CE]
  25. 00000040  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  26. 00000046  6706                     beq        +0x8 /* 0000004E */
  27. 00000048  528A                     addq.l     A2, 1
  28. label0000004A:
  29. 0000004A  B5CB                     cmpa.l     A2, A3
  30. 0000004C  65E6                     bcs        -0x18 /* 00000034 */
  31. label0000004E:
  32. 0000004E  B5CB                     cmpa.l     A2, A3
  33. 00000050  6700 01DE                beq        +0x1E0 /* 00000230 */
  34. 00000054  2D4A 000C                move.l     [A6 + 0xC], A2
  35. 00000058  49EF 0006                lea.l      A4, [A7 + 0x6]
  36. 0000005C  6002                     bra        +0x4 /* 00000060 */
  37. label0000005E:
  38. 0000005E  18DA                     move.b     [A4]+, [A2]+
  39. label00000060:
  40. 00000060  7000                     moveq.l    D0, 0x00
  41. 00000062  1012                     move.b     D0, [A2]
  42. 00000064  C1FC 0006                muls.w     D0, 0x6
  43. 00000068  206D 9E32                movea.l    A0, [A5 - 0x61CE]
  44. 0000006C  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  45. 00000072  6604                     bne        +0x6 /* 00000078 */
  46. 00000074  B5CB                     cmpa.l     A2, A3
  47. 00000076  65E6                     bcs        -0x18 /* 0000005E */
  48. label00000078:
  49. 00000078  421C                     clr.b      [A4]+
  50. 0000007A  7000                     moveq.l    D0, 0x00
  51. 0000007C  1012                     move.b     D0, [A2]
  52. 0000007E  C1FC 0006                muls.w     D0, 0x6
  53. 00000082  206D 9E32                movea.l    A0, [A5 - 0x61CE]
  54. 00000086  0C70 0005 0800           cmpi.w     [A0 + D0], 0x5
  55. 0000008C  6618                     bne        +0x1A /* 000000A6 */
  56. 0000008E  4878 000A                push.l     0xA /* '\n' */
  57. 00000092  42A7                     clr.l      -[A7]
  58. 00000094  486F 000E                pea.l      [A7 + 0xE]
  59. 00000098  4EAD D940                jsr        [A5 - 0x26C0]
  60. 0000009C  2A00                     move.l     D5, D0
  61. 0000009E  528A                     addq.l     A2, 1
  62. 000000A0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  63. 000000A4  605A                     bra        +0x5C /* 00000100 */
  64. label000000A6:
  65. 000000A6  7E00                     moveq.l    D7, 0x00
  66. 000000A8  1E12                     move.b     D7, [A2]
  67. 000000AA  CFFC 0006                muls.w     D7, 0x6
  68. 000000AE  3E30 7800                move.w     D7, [A0 + D7]
  69. 000000B2  48C7                     ext.l      D7
  70. 000000B4  4A87                     tst.l      D7
  71. 000000B6  670A                     beq        +0xC /* 000000C2 */
  72. 000000B8  7007                     moveq.l    D0, 0x07
  73. 000000BA  BE80                     cmp.l      D7, D0
  74. 000000BC  6704                     beq        +0x6 /* 000000C2 */
  75. 000000BE  B5CB                     cmpa.l     A2, A3
  76. 000000C0  6618                     bne        +0x1A /* 000000DA */
  77. label000000C2:
  78. 000000C2  4878 000A                push.l     0xA /* '\n' */
  79. 000000C6  42A7                     clr.l      -[A7]
  80. 000000C8  486F 000E                pea.l      [A7 + 0xE]
  81. 000000CC  4EAD D940                jsr        [A5 - 0x26C0]
  82. 000000D0  2600                     move.l     D3, D0
  83. 000000D2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  84. 000000D6  6000 0120                bra        +0x122 /* 000001F8 */
  85. label000000DA:
  86. 000000DA  0C12 0042                cmpi.b     [A2], 0x42 /* 'B' */
  87. 000000DE  6616                     bne        +0x18 /* 000000F6 */
  88. 000000E0  4878 000A                push.l     0xA /* '\n' */
  89. 000000E4  42A7                     clr.l      -[A7]
  90. 000000E6  486F 000E                pea.l      [A7 + 0xE]
  91. 000000EA  4EAD D940                jsr        [A5 - 0x26C0]
  92. 000000EE  2600                     move.l     D3, D0
  93. 000000F0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  94. 000000F4  600A                     bra        +0xC /* 00000100 */
  95. label000000F6:
  96. 000000F6  3D7C 0001 0012           move.w     [A6 + 0x12], 0x1
  97. 000000FC  6000 00FA                bra        +0xFC /* 000001F8 */
  98. label00000100:
  99. 00000100  0C12 0042                cmpi.b     [A2], 0x42 /* 'B' */
  100. 00000104  6700 00AC                beq        +0xAE /* 000001B2 */
  101. 00000108  49EF 0006                lea.l      A4, [A7 + 0x6]
  102. 0000010C  6002                     bra        +0x4 /* 00000110 */
  103. label0000010E:
  104. 0000010E  18DA                     move.b     [A4]+, [A2]+
  105. label00000110:
  106. 00000110  7000                     moveq.l    D0, 0x00
  107. 00000112  1012                     move.b     D0, [A2]
  108. 00000114  C1FC 0006                muls.w     D0, 0x6
  109. 00000118  206D 9E32                movea.l    A0, [A5 - 0x61CE]
  110. 0000011C  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  111. 00000122  6604                     bne        +0x6 /* 00000128 */
  112. 00000124  B5CB                     cmpa.l     A2, A3
  113. 00000126  65E6                     bcs        -0x18 /* 0000010E */
  114. label00000128:
  115. 00000128  421C                     clr.b      [A4]+
  116. 0000012A  7000                     moveq.l    D0, 0x00
  117. 0000012C  1012                     move.b     D0, [A2]
  118. 0000012E  C1FC 0006                muls.w     D0, 0x6
  119. 00000132  206D 9E32                movea.l    A0, [A5 - 0x61CE]
  120. 00000136  0C70 0005 0800           cmpi.w     [A0 + D0], 0x5
  121. 0000013C  6618                     bne        +0x1A /* 00000156 */
  122. 0000013E  4878 000A                push.l     0xA /* '\n' */
  123. 00000142  42A7                     clr.l      -[A7]
  124. 00000144  486F 000E                pea.l      [A7 + 0xE]
  125. 00000148  4EAD D940                jsr        [A5 - 0x26C0]
  126. 0000014C  2800                     move.l     D4, D0
  127. 0000014E  528A                     addq.l     A2, 1
  128. 00000150  4FEF 000C                lea.l      A7, [A7 + 0xC]
  129. 00000154  605C                     bra        +0x5E /* 000001B2 */
  130. label00000156:
  131. 00000156  7000                     moveq.l    D0, 0x00
  132. 00000158  1012                     move.b     D0, [A2]
  133. 0000015A  C1FC 0006                muls.w     D0, 0x6
  134. 0000015E  3030 0800                move.w     D0, [A0 + D0]
  135. 00000162  48C0                     ext.l      D0
  136. 00000164  2F40 0002                move.l     [A7 + 0x2], D0
  137. 00000168  4A80                     tst.l      D0
  138. 0000016A  670C                     beq        +0xE /* 00000178 */
  139. 0000016C  7007                     moveq.l    D0, 0x07
  140. 0000016E  B0AF 0002                cmp.l      D0, [A7 + 0x2]
  141. 00000172  6704                     beq        +0x6 /* 00000178 */
  142. 00000174  B5CB                     cmpa.l     A2, A3
  143. 00000176  6616                     bne        +0x18 /* 0000018E */
  144. label00000178:
  145. 00000178  4878 000A                push.l     0xA /* '\n' */
  146. 0000017C  42A7                     clr.l      -[A7]
  147. 0000017E  486F 000E                pea.l      [A7 + 0xE]
  148. 00000182  4EAD D940                jsr        [A5 - 0x26C0]
  149. 00000186  2600                     move.l     D3, D0
  150. 00000188  4FEF 000C                lea.l      A7, [A7 + 0xC]
  151. 0000018C  606A                     bra        +0x6C /* 000001F8 */
  152. label0000018E:
  153. 0000018E  0C12 0042                cmpi.b     [A2], 0x42 /* 'B' */
  154. 00000192  6616                     bne        +0x18 /* 000001AA */
  155. 00000194  4878 000A                push.l     0xA /* '\n' */
  156. 00000198  42A7                     clr.l      -[A7]
  157. 0000019A  486F 000E                pea.l      [A7 + 0xE]
  158. 0000019E  4EAD D940                jsr        [A5 - 0x26C0]
  159. 000001A2  2600                     move.l     D3, D0
  160. 000001A4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  161. 000001A8  6008                     bra        +0xA /* 000001B2 */
  162. label000001AA:
  163. 000001AA  3D7C 0001 0012           move.w     [A6 + 0x12], 0x1
  164. 000001B0  6046                     bra        +0x48 /* 000001F8 */
  165. label000001B2:
  166. 000001B2  0C12 0042                cmpi.b     [A2], 0x42 /* 'B' */
  167. 000001B6  6736                     beq        +0x38 /* 000001EE */
  168. 000001B8  49EF 0006                lea.l      A4, [A7 + 0x6]
  169. 000001BC  6002                     bra        +0x4 /* 000001C0 */
  170. label000001BE:
  171. 000001BE  18DA                     move.b     [A4]+, [A2]+
  172. label000001C0:
  173. 000001C0  7000                     moveq.l    D0, 0x00
  174. 000001C2  1012                     move.b     D0, [A2]
  175. 000001C4  C1FC 0006                muls.w     D0, 0x6
  176. 000001C8  206D 9E32                movea.l    A0, [A5 - 0x61CE]
  177. 000001CC  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  178. 000001D2  6604                     bne        +0x6 /* 000001D8 */
  179. 000001D4  B5CB                     cmpa.l     A2, A3
  180. 000001D6  65E6                     bcs        -0x18 /* 000001BE */
  181. label000001D8:
  182. 000001D8  421C                     clr.b      [A4]+
  183. 000001DA  4878 000A                push.l     0xA /* '\n' */
  184. 000001DE  42A7                     clr.l      -[A7]
  185. 000001E0  486F 000E                pea.l      [A7 + 0xE]
  186. 000001E4  4EAD D940                jsr        [A5 - 0x26C0]
  187. 000001E8  2600                     move.l     D3, D0
  188. 000001EA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  189. label000001EE:
  190. 000001EE  0C12 0042                cmpi.b     [A2], 0x42 /* 'B' */
  191. 000001F2  6604                     bne        +0x6 /* 000001F8 */
  192. 000001F4  7C01                     moveq.l    D6, 0x01
  193. 000001F6  528A                     addq.l     A2, 1
  194. label000001F8:
  195. 000001F8  4A6E 0012                tst.w      [A6 + 0x12]
  196. 000001FC  6636                     bne        +0x38 /* 00000234 */
  197. 000001FE  4A46                     tst.w      D6
  198. 00000200  6702                     beq        +0x4 /* 00000204 */
  199. 00000202  4483                     neg.l      D3
  200. label00000204:
  201. 00000204  266E 001A                movea.l    A3, [A6 + 0x1A]
  202. 00000208  2683                     move.l     [A3], D3
  203. 0000020A  2005                     move.l     D0, D5
  204. 0000020C  0280 0000 00FF           andi.l     D0, 0xFF
  205. 00000212  206E 001A                movea.l    A0, [A6 + 0x1A]
  206. 00000216  1140 0004                move.b     [A0 + 0x4], D0
  207. 0000021A  2004                     move.l     D0, D4
  208. 0000021C  0280 0000 00FF           andi.l     D0, 0xFF
  209. 00000222  206E 001A                movea.l    A0, [A6 + 0x1A]
  210. 00000226  1140 0005                move.b     [A0 + 0x5], D0
  211. 0000022A  3D7C 0006 0018           move.w     [A6 + 0x18], 0x6
  212. label00000230:
  213. 00000230  2D4A 0014                move.l     [A6 + 0x14], A2
  214. label00000234:
  215. 00000234  302E 0012                move.w     D0, [A6 + 0x12]
  216. 00000238  4FEF 006C                lea.l      A7, [A7 + 0x6C]
  217. 0000023C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  218. 00000240  4E75                     rts
  219. 00000242  2F0B                     move.l     -[A7], A3
  220. 00000244  226F 0008                movea.l    A1, [A7 + 0x8]
  221. 00000248  266F 000C                movea.l    A3, [A7 + 0xC]
  222. 0000024C  2051                     movea.l    A0, [A1]
  223. 0000024E  2010                     move.l     D0, [A0]
  224. 00000250  0280 8000 0000           andi.l     D0, 0x80000000
  225. 00000256  6712                     beq        +0x14 /* 0000026A */
  226. 00000258  2053                     movea.l    A0, [A3]
  227. 0000025A  2010                     move.l     D0, [A0]
  228. 0000025C  0280 8000 0000           andi.l     D0, 0x80000000
  229. 00000262  6606                     bne        +0x8 /* 0000026A */
  230. 00000264  70FF                     moveq.l    D0, 0xFFFFFFFF
  231. 00000266  265F                     movea.l    A3, [A7]+
  232. 00000268  4E75                     rts
  233. label0000026A:
  234. 0000026A  2051                     movea.l    A0, [A1]
  235. 0000026C  2010                     move.l     D0, [A0]
  236. 0000026E  0280 8000 0000           andi.l     D0, 0x80000000
  237. 00000274  6612                     bne        +0x14 /* 00000288 */
  238. 00000276  2053                     movea.l    A0, [A3]
  239. 00000278  2010                     move.l     D0, [A0]
  240. 0000027A  0280 8000 0000           andi.l     D0, 0x80000000
  241. 00000280  6706                     beq        +0x8 /* 00000288 */
  242. 00000282  7001                     moveq.l    D0, 0x01
  243. 00000284  265F                     movea.l    A3, [A7]+
  244. 00000286  4E75                     rts
  245. label00000288:
  246. 00000288  2211                     move.l     D1, [A1]
  247. 0000028A  9293                     sub.l      D1, [A3]
  248. 0000028C  4A81                     tst.l      D1
  249. 0000028E  6C06                     bge        +0x8 /* 00000296 */
  250. 00000290  70FF                     moveq.l    D0, 0xFFFFFFFF
  251. 00000292  265F                     movea.l    A3, [A7]+
  252. 00000294  4E75                     rts
  253. label00000296:
  254. 00000296  4A81                     tst.l      D1
  255. 00000298  6F06                     ble        +0x8 /* 000002A0 */
  256. 0000029A  7001                     moveq.l    D0, 0x01
  257. 0000029C  265F                     movea.l    A3, [A7]+
  258. 0000029E  4E75                     rts
  259. label000002A0:
  260. 000002A0  7000                     moveq.l    D0, 0x00
  261. 000002A2  302B 0004                move.w     D0, [A3 + 0x4]
  262. 000002A6  7200                     moveq.l    D1, 0x00
  263. 000002A8  3229 0004                move.w     D1, [A1 + 0x4]
  264. 000002AC  9280                     sub.l      D1, D0
  265. 000002AE  4A81                     tst.l      D1
  266. 000002B0  6C06                     bge        +0x8 /* 000002B8 */
  267. 000002B2  70FF                     moveq.l    D0, 0xFFFFFFFF
  268. 000002B4  265F                     movea.l    A3, [A7]+
  269. 000002B6  4E75                     rts
  270. label000002B8:
  271. 000002B8  4A81                     tst.l      D1
  272. 000002BA  6F06                     ble        +0x8 /* 000002C2 */
  273. 000002BC  7001                     moveq.l    D0, 0x01
  274. 000002BE  265F                     movea.l    A3, [A7]+
  275. 000002C0  4E75                     rts
  276. label000002C2:
  277. 000002C2  7000                     moveq.l    D0, 0x00
  278. 000002C4  265F                     movea.l    A3, [A7]+
  279. 000002C6  4E75                     rts
  280. 000002C8  2B6F 0004 9E32           move.l     [A5 - 0x61CE], [A7 + 0x4]
  281. 000002CE  3B6F 0008 9E36           move.w     [A5 - 0x61CA], [A7 + 0x8]
  282. 000002D4  4E75                     rts
  283. 000002D6  48E7 1020                movem.l    -[A7], D3,A2
  284. 000002DA  246F 000C                movea.l    A2, [A7 + 0xC]
  285. 000002DE  7600                     moveq.l    D3, 0x00
  286. 000002E0  2B6A 0004 9E3E           move.l     [A5 - 0x61C2], [A2 + 0x4]
  287. 000002E6  2B6A 0008 9E46           move.l     [A5 - 0x61BA], [A2 + 0x8]
  288. 000002EC  2B6A 0008 9E42           move.l     [A5 - 0x61BE], [A2 + 0x8]
  289. 000002F2  2B6A 001A 9E4A           move.l     [A5 - 0x61B6], [A2 + 0x1A]
  290. 000002F8  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  291. 000002FC  5488                     addq.l     A0, 2
  292. 000002FE  2B48 9E4E                move.l     [A5 - 0x61B2], A0
  293. 00000302  426D 9E52                clr.w      [A5 - 0x61AE]
  294. 00000306  426D 9E54                clr.w      [A5 - 0x61AC]
  295. 0000030A  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  296. 0000030E  4250                     clr.w      [A0]
  297. 00000310  601C                     bra        +0x1E /* 0000032E */
  298. label00000312:
  299. 00000312  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  300. 00000316  7000                     moveq.l    D0, 0x00
  301. 00000318  1010                     move.b     D0, [A0]
  302. 0000031A  C1FC 0006                muls.w     D0, 0x6
  303. 0000031E  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  304. 00000322  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  305. 00000328  670E                     beq        +0x10 /* 00000338 */
  306. 0000032A  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  307. label0000032E:
  308. 0000032E  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  309. 00000332  B1EA 0004                cmpa.l     A0, [A2 + 0x4]
  310. 00000336  65DA                     bcs        -0x24 /* 00000312 */
  311. label00000338:
  312. 00000338  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  313. 0000033C  B1EA 0004                cmpa.l     A0, [A2 + 0x4]
  314. 00000340  660C                     bne        +0xE /* 0000034E */
  315. 00000342  426A 0018                clr.w      [A2 + 0x18]
  316. 00000346  256A 0008 000C           move.l     [A2 + 0xC], [A2 + 0x8]
  317. 0000034C  602C                     bra        +0x2E /* 0000037A */
  318. label0000034E:
  319. 0000034E  2548 000C                move.l     [A2 + 0xC], A0
  320. 00000352  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  321. 00000356  B1EA 0004                cmpa.l     A0, [A2 + 0x4]
  322. 0000035A  6408                     bcc        +0xA /* 00000364 */
  323. 0000035C  4EBA 01E8                jsr        [PC + 0x1E8 /* 00000546 */]
  324. 00000360  3600                     move.w     D3, D0
  325. 00000362  6002                     bra        +0x4 /* 00000366 */
  326. label00000364:
  327. 00000364  7601                     moveq.l    D3, 0x01
  328. label00000366:
  329. 00000366  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  330. 0000036A  5488                     addq.l     A0, 2
  331. 0000036C  226D 9E4E                movea.l    A1, [A5 - 0x61B2]
  332. 00000370  93C8                     sub.l      A1, A0
  333. 00000372  5689                     addq.l     A1, 3
  334. 00000374  2009                     move.l     D0, A1
  335. 00000376  3540 0018                move.w     [A2 + 0x18], D0
  336. label0000037A:
  337. 0000037A  256D 9E46 0014           move.l     [A2 + 0x14], [A5 - 0x61BA]
  338. 00000380  3543 0012                move.w     [A2 + 0x12], D3
  339. 00000384  3003                     move.w     D0, D3
  340. 00000386  4CDF 0408                movem.l    D3,A2, [A7]+
  341. 0000038A  4E75                     rts
  342. 0000038C  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  343. 00000390  246F 0018                movea.l    A2, [A7 + 0x18]
  344. 00000394  266F 001C                movea.l    A3, [A7 + 0x1C]
  345. 00000398  3013                     move.w     D0, [A3]
  346. 0000039A  0280 0000 C000           andi.l     D0, 0xC000
  347. 000003A0  3612                     move.w     D3, [A2]
  348. 000003A2  0283 0000 C000           andi.l     D3, 0xC000
  349. 000003A8  9680                     sub.l      D3, D0
  350. 000003AA  4A83                     tst.l      D3
  351. 000003AC  6C08                     bge        +0xA /* 000003B6 */
  352. 000003AE  70FF                     moveq.l    D0, 0xFFFFFFFF
  353. 000003B0  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  354. 000003B4  4E75                     rts
  355. label000003B6:
  356. 000003B6  4A83                     tst.l      D3
  357. 000003B8  6F08                     ble        +0xA /* 000003C2 */
  358. 000003BA  7001                     moveq.l    D0, 0x01
  359. 000003BC  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  360. 000003C0  4E75                     rts
  361. label000003C2:
  362. 000003C2  3012                     move.w     D0, [A2]
  363. 000003C4  0280 0000 8000           andi.l     D0, 0x8000
  364. 000003CA  6700 0096                beq        +0x98 /* 00000462 */
  365. 000003CE  3012                     move.w     D0, [A2]
  366. 000003D0  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  367. 000003D6  6730                     beq        +0x32 /* 00000408 */
  368. 000003D8  3013                     move.w     D0, [A3]
  369. 000003DA  0280 0000 2FFF           andi.l     D0, 0x2FFF
  370. 000003E0  3612                     move.w     D3, [A2]
  371. 000003E2  0283 0000 2FFF           andi.l     D3, 0x2FFF
  372. 000003E8  9680                     sub.l      D3, D0
  373. 000003EA  4A83                     tst.l      D3
  374. 000003EC  6C08                     bge        +0xA /* 000003F6 */
  375. 000003EE  70FF                     moveq.l    D0, 0xFFFFFFFF
  376. 000003F0  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  377. 000003F4  4E75                     rts
  378. label000003F6:
  379. 000003F6  4A83                     tst.l      D3
  380. 000003F8  6F08                     ble        +0xA /* 00000402 */
  381. 000003FA  7001                     moveq.l    D0, 0x01
  382. 000003FC  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  383. 00000400  4E75                     rts
  384. label00000402:
  385. 00000402  7800                     moveq.l    D4, 0x00
  386. 00000404  6000 00EA                bra        +0xEC /* 000004F0 */
  387. label00000408:
  388. 00000408  3013                     move.w     D0, [A3]
  389. 0000040A  0280 0000 2FF0           andi.l     D0, 0x2FF0
  390. 00000410  E880                     asr        D0, 4
  391. 00000412  3612                     move.w     D3, [A2]
  392. 00000414  0283 0000 2FF0           andi.l     D3, 0x2FF0
  393. 0000041A  E883                     asr        D3, 4
  394. 0000041C  9680                     sub.l      D3, D0
  395. 0000041E  4A83                     tst.l      D3
  396. 00000420  6C08                     bge        +0xA /* 0000042A */
  397. 00000422  7001                     moveq.l    D0, 0x01
  398. 00000424  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  399. 00000428  4E75                     rts
  400. label0000042A:
  401. 0000042A  4A83                     tst.l      D3
  402. 0000042C  6F08                     ble        +0xA /* 00000436 */
  403. 0000042E  70FF                     moveq.l    D0, 0xFFFFFFFF
  404. 00000430  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  405. 00000434  4E75                     rts
  406. label00000436:
  407. 00000436  3013                     move.w     D0, [A3]
  408. 00000438  760F                     moveq.l    D3, 0x0F
  409. 0000043A  C083                     and.l      D0, D3
  410. 0000043C  3612                     move.w     D3, [A2]
  411. 0000043E  740F                     moveq.l    D2, 0x0F
  412. 00000440  C682                     and.l      D3, D2
  413. 00000442  9680                     sub.l      D3, D0
  414. 00000444  4A83                     tst.l      D3
  415. 00000446  6C08                     bge        +0xA /* 00000450 */
  416. 00000448  70FF                     moveq.l    D0, 0xFFFFFFFF
  417. 0000044A  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  418. 0000044E  4E75                     rts
  419. label00000450:
  420. 00000450  4A83                     tst.l      D3
  421. 00000452  6F08                     ble        +0xA /* 0000045C */
  422. 00000454  7001                     moveq.l    D0, 0x01
  423. 00000456  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  424. 0000045A  4E75                     rts
  425. label0000045C:
  426. 0000045C  7801                     moveq.l    D4, 0x01
  427. 0000045E  6000 0090                bra        +0x92 /* 000004F0 */
  428. label00000462:
  429. 00000462  3012                     move.w     D0, [A2]
  430. 00000464  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  431. 0000046A  6758                     beq        +0x5A /* 000004C4 */
  432. 0000046C  3013                     move.w     D0, [A3]
  433. 0000046E  0280 0000 2FF0           andi.l     D0, 0x2FF0
  434. 00000474  E880                     asr        D0, 4
  435. 00000476  3612                     move.w     D3, [A2]
  436. 00000478  0283 0000 2FF0           andi.l     D3, 0x2FF0
  437. 0000047E  E883                     asr        D3, 4
  438. 00000480  9680                     sub.l      D3, D0
  439. 00000482  4A83                     tst.l      D3
  440. 00000484  6C08                     bge        +0xA /* 0000048E */
  441. 00000486  7001                     moveq.l    D0, 0x01
  442. 00000488  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  443. 0000048C  4E75                     rts
  444. label0000048E:
  445. 0000048E  4A83                     tst.l      D3
  446. 00000490  6F08                     ble        +0xA /* 0000049A */
  447. 00000492  70FF                     moveq.l    D0, 0xFFFFFFFF
  448. 00000494  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  449. 00000498  4E75                     rts
  450. label0000049A:
  451. 0000049A  3013                     move.w     D0, [A3]
  452. 0000049C  760F                     moveq.l    D3, 0x0F
  453. 0000049E  C083                     and.l      D0, D3
  454. 000004A0  3612                     move.w     D3, [A2]
  455. 000004A2  740F                     moveq.l    D2, 0x0F
  456. 000004A4  C682                     and.l      D3, D2
  457. 000004A6  9680                     sub.l      D3, D0
  458. 000004A8  4A83                     tst.l      D3
  459. 000004AA  6C08                     bge        +0xA /* 000004B4 */
  460. 000004AC  70FF                     moveq.l    D0, 0xFFFFFFFF
  461. 000004AE  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  462. 000004B2  4E75                     rts
  463. label000004B4:
  464. 000004B4  4A83                     tst.l      D3
  465. 000004B6  6F08                     ble        +0xA /* 000004C0 */
  466. 000004B8  7001                     moveq.l    D0, 0x01
  467. 000004BA  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  468. 000004BE  4E75                     rts
  469. label000004C0:
  470. 000004C0  7802                     moveq.l    D4, 0x02
  471. 000004C2  602C                     bra        +0x2E /* 000004F0 */
  472. label000004C4:
  473. 000004C4  3013                     move.w     D0, [A3]
  474. 000004C6  0280 0000 2FFF           andi.l     D0, 0x2FFF
  475. 000004CC  3612                     move.w     D3, [A2]
  476. 000004CE  0283 0000 2FFF           andi.l     D3, 0x2FFF
  477. 000004D4  9680                     sub.l      D3, D0
  478. 000004D6  4A83                     tst.l      D3
  479. 000004D8  6C08                     bge        +0xA /* 000004E2 */
  480. 000004DA  7001                     moveq.l    D0, 0x01
  481. 000004DC  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  482. 000004E0  4E75                     rts
  483. label000004E2:
  484. 000004E2  4A83                     tst.l      D3
  485. 000004E4  6F08                     ble        +0xA /* 000004EE */
  486. 000004E6  70FF                     moveq.l    D0, 0xFFFFFFFF
  487. 000004E8  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  488. 000004EC  4E75                     rts
  489. label000004EE:
  490. 000004EE  7803                     moveq.l    D4, 0x03
  491. label000004F0:
  492. 000004F0  284A                     movea.l    A4, A2
  493. 000004F2  548C                     addq.l     A4, 2
  494. 000004F4  244B                     movea.l    A2, A3
  495. 000004F6  548A                     addq.l     A2, 2
  496. 000004F8  2F0A                     move.l     -[A7], A2
  497. 000004FA  2F0C                     move.l     -[A7], A4
  498. 000004FC  4EAD D95E                jsr        [A5 - 0x26A2]
  499. 00000500  2600                     move.l     D3, D0
  500. 00000502  0C04 0001                cmpi.b     D4, 0x1
  501. 00000506  504F                     addq.w     A7, 8
  502. 00000508  6706                     beq        +0x8 /* 00000510 */
  503. 0000050A  0C04 0002                cmpi.b     D4, 0x2
  504. 0000050E  6620                     bne        +0x22 /* 00000530 */
  505. label00000510:
  506. 00000510  4A83                     tst.l      D3
  507. 00000512  6F08                     ble        +0xA /* 0000051C */
  508. 00000514  70FF                     moveq.l    D0, 0xFFFFFFFF
  509. 00000516  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  510. 0000051A  4E75                     rts
  511. label0000051C:
  512. 0000051C  4A83                     tst.l      D3
  513. 0000051E  6F08                     ble        +0xA /* 00000528 */
  514. 00000520  7001                     moveq.l    D0, 0x01
  515. 00000522  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  516. 00000526  4E75                     rts
  517. label00000528:
  518. 00000528  7000                     moveq.l    D0, 0x00
  519. 0000052A  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  520. 0000052E  4E75                     rts
  521. label00000530:
  522. 00000530  2003                     move.l     D0, D3
  523. 00000532  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  524. 00000536  4E75                     rts
  525. 00000538  2B6F 0004 9E38           move.l     [A5 - 0x61C8], [A7 + 0x4]
  526. 0000053E  3B6F 0008 9E3C           move.w     [A5 - 0x61C4], [A7 + 0x8]
  527. 00000544  4E75                     rts
  528. fn00000546:
  529. 00000546  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  530. 0000054A  7800                     moveq.l    D4, 0x00
  531. 0000054C  7C00                     moveq.l    D6, 0x00
  532. 0000054E  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  533. 00000552  0050 8000                ori.w      [A0], 0x8000
  534. 00000556  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  535. 0000055A  7600                     moveq.l    D3, 0x00
  536. 0000055C  1610                     move.b     D3, [A0]
  537. 0000055E  C7FC 0006                muls.w     D3, 0x6
  538. 00000562  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  539. 00000566  3630 3800                move.w     D3, [A0 + D3]
  540. 0000056A  48C3                     ext.l      D3
  541. 0000056C  4A83                     tst.l      D3
  542. 0000056E  6700 0090                beq        +0x92 /* 00000600 */
  543. 00000572  7007                     moveq.l    D0, 0x07
  544. 00000574  B680                     cmp.l      D3, D0
  545. 00000576  6700 0088                beq        +0x8A /* 00000600 */
  546. 0000057A  6056                     bra        +0x58 /* 000005D2 */
  547. label0000057C:
  548. 0000057C  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  549. 00000580  0C10 0030                cmpi.b     [A0], 0x30 /* '0' */
  550. 00000584  6616                     bne        +0x18 /* 0000059C */
  551. 00000586  4A6D 9E52                tst.w      [A5 - 0x61AE]
  552. 0000058A  6742                     beq        +0x44 /* 000005CE */
  553. 0000058C  226D 9E4E                movea.l    A1, [A5 - 0x61B2]
  554. 00000590  52AD 9E4E                addq.l     [A5 - 0x61B2], 1
  555. 00000594  1290                     move.b     [A1], [A0]
  556. 00000596  526D 9E54                addq.w     [A5 - 0x61AC], 1
  557. 0000059A  6032                     bra        +0x34 /* 000005CE */
  558. label0000059C:
  559. 0000059C  4A6D 9E52                tst.w      [A5 - 0x61AE]
  560. 000005A0  661E                     bne        +0x20 /* 000005C0 */
  561. 000005A2  3B7C 0001 9E52           move.w     [A5 - 0x61AE], 0x1
  562. 000005A8  701F                     moveq.l    D0, 0x1F
  563. 000005AA  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  564. 000005AE  7200                     moveq.l    D1, 0x00
  565. 000005B0  1210                     move.b     D1, [A0]
  566. 000005B2  74D0                     moveq.l    D2, 0xFFFFFFD0
  567. 000005B4  D282                     add.l      D1, D2
  568. 000005B6  C280                     and.l      D1, D0
  569. 000005B8  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  570. 000005BC  8350                     or.w       [A0], D1
  571. 000005BE  600E                     bra        +0x10 /* 000005CE */
  572. label000005C0:
  573. 000005C0  226D 9E4E                movea.l    A1, [A5 - 0x61B2]
  574. 000005C4  52AD 9E4E                addq.l     [A5 - 0x61B2], 1
  575. 000005C8  1290                     move.b     [A1], [A0]
  576. 000005CA  526D 9E54                addq.w     [A5 - 0x61AC], 1
  577. label000005CE:
  578. 000005CE  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  579. label000005D2:
  580. 000005D2  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  581. 000005D6  7000                     moveq.l    D0, 0x00
  582. 000005D8  1010                     move.b     D0, [A0]
  583. 000005DA  C1FC 0006                muls.w     D0, 0x6
  584. 000005DE  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  585. 000005E2  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  586. 000005E8  6616                     bne        +0x18 /* 00000600 */
  587. 000005EA  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  588. 000005EE  B1ED 9E3E                cmpa.l     A0, [A5 - 0x61C2]
  589. 000005F2  640C                     bcc        +0xE /* 00000600 */
  590. 000005F4  91ED 9E42                sub.l      A0, [A5 - 0x61BE]
  591. 000005F8  B0FC 00FA                cmpa.w     A0, 0xFA
  592. 000005FC  6F00 FF7E                ble        -0x80 /* 0000057C */
  593. label00000600:
  594. 00000600  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  595. 00000604  91ED 9E42                sub.l      A0, [A5 - 0x61BE]
  596. 00000608  B0FC 00FA                cmpa.w     A0, 0xFA
  597. 0000060C  6D00 0140                blt        +0x142 /* 0000074E */
  598. 00000610  4EBA 0210                jsr        [PC + 0x210 /* 00000822 */]
  599. 00000614  6000 0138                bra        +0x13A /* 0000074E */
  600. label00000618:
  601. 00000618  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  602. 0000061C  4A10                     tst.b      [A0]
  603. 0000061E  6700 0148                beq        +0x14A /* 00000768 */
  604. 00000622  7E00                     moveq.l    D7, 0x00
  605. 00000624  1E10                     move.b     D7, [A0]
  606. 00000626  7062                     moveq.l    D0, 0x62
  607. 00000628  BE80                     cmp.l      D7, D0
  608. 0000062A  6700 013C                beq        +0x13E /* 00000768 */
  609. 0000062E  7042                     moveq.l    D0, 0x42
  610. 00000630  BE80                     cmp.l      D7, D0
  611. 00000632  6700 0134                beq        +0x136 /* 00000768 */
  612. 00000636  7A00                     moveq.l    D5, 0x00
  613. 00000638  1A10                     move.b     D5, [A0]
  614. 0000063A  CBFC 0006                muls.w     D5, 0x6
  615. 0000063E  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  616. 00000642  3A30 5800                move.w     D5, [A0 + D5]
  617. 00000646  48C5                     ext.l      D5
  618. 00000648  4A85                     tst.l      D5
  619. 0000064A  6700 011C                beq        +0x11E /* 00000768 */
  620. 0000064E  7007                     moveq.l    D0, 0x07
  621. 00000650  BA80                     cmp.l      D5, D0
  622. 00000652  6700 0114                beq        +0x116 /* 00000768 */
  623. 00000656  7008                     moveq.l    D0, 0x08
  624. 00000658  BA80                     cmp.l      D5, D0
  625. 0000065A  661E                     bne        +0x20 /* 0000067A */
  626. 0000065C  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  627. 00000660  7000                     moveq.l    D0, 0x00
  628. 00000662  1028 0001                move.b     D0, [A0 + 0x1]
  629. 00000666  C1FC 0006                muls.w     D0, 0x6
  630. 0000066A  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  631. 0000066E  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  632. 00000674  6722                     beq        +0x24 /* 00000698 */
  633. 00000676  6000 00F0                bra        +0xF2 /* 00000768 */
  634. label0000067A:
  635. 0000067A  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  636. 0000067E  7000                     moveq.l    D0, 0x00
  637. 00000680  1010                     move.b     D0, [A0]
  638. 00000682  C1FC 0006                muls.w     D0, 0x6
  639. 00000686  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  640. 0000068A  0C70 0004 0800           cmpi.w     [A0 + D0], 0x4
  641. 00000690  6706                     beq        +0x8 /* 00000698 */
  642. 00000692  7801                     moveq.l    D4, 0x01
  643. 00000694  6000 00D2                bra        +0xD4 /* 00000768 */
  644. label00000698:
  645. 00000698  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  646. 0000069C  7600                     moveq.l    D3, 0x00
  647. 0000069E  6000 0084                bra        +0x86 /* 00000724 */
  648. label000006A2:
  649. 000006A2  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  650. 000006A6  7000                     moveq.l    D0, 0x00
  651. 000006A8  1010                     move.b     D0, [A0]
  652. 000006AA  C1FC 0006                muls.w     D0, 0x6
  653. 000006AE  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  654. 000006B2  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  655. 000006B8  6704                     beq        +0x6 /* 000006BE */
  656. 000006BA  7801                     moveq.l    D4, 0x01
  657. 000006BC  607C                     bra        +0x7E /* 0000073A */
  658. label000006BE:
  659. 000006BE  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  660. 000006C2  0C10 0030                cmpi.b     [A0], 0x30 /* '0' */
  661. 000006C6  6620                     bne        +0x22 /* 000006E8 */
  662. 000006C8  4A6D 9E52                tst.w      [A5 - 0x61AE]
  663. 000006CC  6606                     bne        +0x8 /* 000006D4 */
  664. 000006CE  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  665. 000006D2  604E                     bra        +0x50 /* 00000722 */
  666. label000006D4:
  667. 000006D4  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  668. 000006D8  226D 9E4E                movea.l    A1, [A5 - 0x61B2]
  669. 000006DC  52AD 9E4E                addq.l     [A5 - 0x61B2], 1
  670. 000006E0  1290                     move.b     [A1], [A0]
  671. 000006E2  526D 9E54                addq.w     [A5 - 0x61AC], 1
  672. 000006E6  603A                     bra        +0x3C /* 00000722 */
  673. label000006E8:
  674. 000006E8  4A6D 9E52                tst.w      [A5 - 0x61AE]
  675. 000006EC  6622                     bne        +0x24 /* 00000710 */
  676. 000006EE  3B7C 0001 9E52           move.w     [A5 - 0x61AE], 0x1
  677. 000006F4  701F                     moveq.l    D0, 0x1F
  678. 000006F6  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  679. 000006FA  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  680. 000006FE  7200                     moveq.l    D1, 0x00
  681. 00000700  1210                     move.b     D1, [A0]
  682. 00000702  74D0                     moveq.l    D2, 0xFFFFFFD0
  683. 00000704  D282                     add.l      D1, D2
  684. 00000706  C280                     and.l      D1, D0
  685. 00000708  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  686. 0000070C  8350                     or.w       [A0], D1
  687. 0000070E  6012                     bra        +0x14 /* 00000722 */
  688. label00000710:
  689. 00000710  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  690. 00000714  226D 9E4E                movea.l    A1, [A5 - 0x61B2]
  691. 00000718  52AD 9E4E                addq.l     [A5 - 0x61B2], 1
  692. 0000071C  1290                     move.b     [A1], [A0]
  693. 0000071E  526D 9E54                addq.w     [A5 - 0x61AC], 1
  694. label00000722:
  695. 00000722  5243                     addq.w     D3, 1
  696. label00000724:
  697. 00000724  3003                     move.w     D0, D3
  698. 00000726  48C0                     ext.l      D0
  699. 00000728  7203                     moveq.l    D1, 0x03
  700. 0000072A  B081                     cmp.l      D0, D1
  701. 0000072C  6C0C                     bge        +0xE /* 0000073A */
  702. 0000072E  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  703. 00000732  B1ED 9E3E                cmpa.l     A0, [A5 - 0x61C2]
  704. 00000736  6500 FF6A                bcs        -0x94 /* 000006A2 */
  705. label0000073A:
  706. 0000073A  0C43 0003                cmpi.w     D3, 0x3
  707. 0000073E  6702                     beq        +0x4 /* 00000742 */
  708. 00000740  7801                     moveq.l    D4, 0x01
  709. label00000742:
  710. 00000742  4A44                     tst.w      D4
  711. 00000744  6708                     beq        +0xA /* 0000074E */
  712. 00000746  3004                     move.w     D0, D4
  713. 00000748  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  714. 0000074C  4E75                     rts
  715. label0000074E:
  716. 0000074E  4A44                     tst.w      D4
  717. 00000750  6616                     bne        +0x18 /* 00000768 */
  718. 00000752  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  719. 00000756  B1ED 9E3E                cmpa.l     A0, [A5 - 0x61C2]
  720. 0000075A  640C                     bcc        +0xE /* 00000768 */
  721. 0000075C  91ED 9E42                sub.l      A0, [A5 - 0x61BE]
  722. 00000760  B0FC 00FA                cmpa.w     A0, 0xFA
  723. 00000764  6F00 FEB2                ble        -0x14C /* 00000618 */
  724. label00000768:
  725. 00000768  206D 9E4E                movea.l    A0, [A5 - 0x61B2]
  726. 0000076C  4210                     clr.b      [A0]
  727. 0000076E  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  728. 00000772  91ED 9E42                sub.l      A0, [A5 - 0x61BE]
  729. 00000776  B0FC 00FA                cmpa.w     A0, 0xFA
  730. 0000077A  6D04                     blt        +0x6 /* 00000780 */
  731. 0000077C  4EBA 00A4                jsr        [PC + 0xA4 /* 00000822 */]
  732. label00000780:
  733. 00000780  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  734. 00000784  B1ED 9E3E                cmpa.l     A0, [A5 - 0x61C2]
  735. 00000788  6418                     bcc        +0x1A /* 000007A2 */
  736. 0000078A  7000                     moveq.l    D0, 0x00
  737. 0000078C  1010                     move.b     D0, [A0]
  738. 0000078E  2440                     movea.l    A2, D0
  739. 00000790  7062                     moveq.l    D0, 0x62
  740. 00000792  B5C0                     cmpa.l     A2, D0
  741. 00000794  6706                     beq        +0x8 /* 0000079C */
  742. 00000796  7042                     moveq.l    D0, 0x42
  743. 00000798  B5C0                     cmpa.l     A2, D0
  744. 0000079A  6606                     bne        +0x8 /* 000007A2 */
  745. label0000079C:
  746. 0000079C  7C01                     moveq.l    D6, 0x01
  747. 0000079E  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  748. label000007A2:
  749. 000007A2  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  750. 000007A6  7000                     moveq.l    D0, 0x00
  751. 000007A8  1010                     move.b     D0, [A0]
  752. 000007AA  C1FC 0006                muls.w     D0, 0x6
  753. 000007AE  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  754. 000007B2  3030 0800                move.w     D0, [A0 + D0]
  755. 000007B6  48C0                     ext.l      D0
  756. 000007B8  2640                     movea.l    A3, D0
  757. 000007BA  200B                     move.l     D0, A3
  758. 000007BC  6710                     beq        +0x12 /* 000007CE */
  759. 000007BE  7007                     moveq.l    D0, 0x07
  760. 000007C0  B7C0                     cmpa.l     A3, D0
  761. 000007C2  670A                     beq        +0xC /* 000007CE */
  762. 000007C4  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  763. 000007C8  B1ED 9E3E                cmpa.l     A0, [A5 - 0x61C2]
  764. 000007CC  664A                     bne        +0x4C /* 00000818 */
  765. label000007CE:
  766. 000007CE  4A46                     tst.w      D6
  767. 000007D0  670A                     beq        +0xC /* 000007DC */
  768. 000007D2  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  769. 000007D6  0250 7FFF                andi.w     [A0], 0x7FFF
  770. 000007DA  6010                     bra        +0x12 /* 000007EC */
  771. label000007DC:
  772. 000007DC  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  773. 000007E0  0050 8000                ori.w      [A0], 0x8000
  774. 000007E4  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  775. 000007E8  0050 4000                ori.w      [A0], 0x4000 /* '@\0' */
  776. label000007EC:
  777. 000007EC  302D 9E54                move.w     D0, [A5 - 0x61AC]
  778. 000007F0  48C0                     ext.l      D0
  779. 000007F2  0C80 0000 07FF           cmpi.l     D0, 0x7FF
  780. 000007F8  6F08                     ble        +0xA /* 00000802 */
  781. 000007FA  7001                     moveq.l    D0, 0x01
  782. 000007FC  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  783. 00000800  4E75                     rts
  784. label00000802:
  785. 00000802  302D 9E54                move.w     D0, [A5 - 0x61AC]
  786. 00000806  48C0                     ext.l      D0
  787. 00000808  E988                     lsl        D0, 4
  788. 0000080A  0280 0000 2FF0           andi.l     D0, 0x2FF0
  789. 00000810  206D 9E4A                movea.l    A0, [A5 - 0x61B6]
  790. 00000814  8150                     or.w       [A0], D0
  791. 00000816  6002                     bra        +0x4 /* 0000081A */
  792. label00000818:
  793. 00000818  7801                     moveq.l    D4, 0x01
  794. label0000081A:
  795. 0000081A  3004                     move.w     D0, D4
  796. 0000081C  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  797. 00000820  4E75                     rts
  798. fn00000822:
  799. 00000822  6004                     bra        +0x6 /* 00000828 */
  800. label00000824:
  801. 00000824  52AD 9E46                addq.l     [A5 - 0x61BA], 1
  802. label00000828:
  803. 00000828  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  804. 0000082C  7200                     moveq.l    D1, 0x00
  805. 0000082E  1210                     move.b     D1, [A0]
  806. 00000830  C3FC 0006                muls.w     D1, 0x6
  807. 00000834  206D 9E38                movea.l    A0, [A5 - 0x61C8]
  808. 00000838  3230 1800                move.w     D1, [A0 + D1]
  809. 0000083C  48C1                     ext.l      D1
  810. 0000083E  4A81                     tst.l      D1
  811. 00000840  6710                     beq        +0x12 /* 00000852 */
  812. 00000842  7007                     moveq.l    D0, 0x07
  813. 00000844  B280                     cmp.l      D1, D0
  814. 00000846  670A                     beq        +0xC /* 00000852 */
  815. 00000848  206D 9E46                movea.l    A0, [A5 - 0x61BA]
  816. 0000084C  B1ED 9E3E                cmpa.l     A0, [A5 - 0x61C2]
  817. 00000850  65D2                     bcs        -0x2C /* 00000824 */
  818. label00000852:
  819. 00000852  4E75                     rts
  820. 00000854  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  821. 00000858  246F 0014                movea.l    A2, [A7 + 0x14]
  822. 0000085C  7600                     moveq.l    D3, 0x00
  823. 0000085E  2B6A 0004 9E60           move.l     [A5 - 0x61A0], [A2 + 0x4]
  824. 00000864  2B6A 0008 9E68           move.l     [A5 - 0x6198], [A2 + 0x8]
  825. 0000086A  2B6A 0008 9E64           move.l     [A5 - 0x619C], [A2 + 0x8]
  826. 00000870  2B6A 001A 9E6C           move.l     [A5 - 0x6194], [A2 + 0x1A]
  827. 00000876  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  828. 0000087A  5488                     addq.l     A0, 2
  829. 0000087C  2B48 9E70                move.l     [A5 - 0x6190], A0
  830. 00000880  426D 9E74                clr.w      [A5 - 0x618C]
  831. 00000884  426D 9E76                clr.w      [A5 - 0x618A]
  832. 00000888  426A 0018                clr.w      [A2 + 0x18]
  833. 0000088C  256D 9E68 000C           move.l     [A2 + 0xC], [A5 - 0x6198]
  834. 00000892  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  835. 00000896  4250                     clr.w      [A0]
  836. 00000898  6034                     bra        +0x36 /* 000008CE */
  837. label0000089A:
  838. 0000089A  206D 9E68                movea.l    A0, [A5 - 0x6198]
  839. 0000089E  1810                     move.b     D4, [A0]
  840. 000008A0  7000                     moveq.l    D0, 0x00
  841. 000008A2  1004                     move.b     D0, D4
  842. 000008A4  C1FC 0006                muls.w     D0, 0x6
  843. 000008A8  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  844. 000008AC  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  845. 000008B2  6724                     beq        +0x26 /* 000008D8 */
  846. 000008B4  7A00                     moveq.l    D5, 0x00
  847. 000008B6  1A04                     move.b     D5, D4
  848. 000008B8  702B                     moveq.l    D0, 0x2B
  849. 000008BA  BA80                     cmp.l      D5, D0
  850. 000008BC  671A                     beq        +0x1C /* 000008D8 */
  851. 000008BE  702D                     moveq.l    D0, 0x2D
  852. 000008C0  BA80                     cmp.l      D5, D0
  853. 000008C2  6714                     beq        +0x16 /* 000008D8 */
  854. 000008C4  702E                     moveq.l    D0, 0x2E
  855. 000008C6  BA80                     cmp.l      D5, D0
  856. 000008C8  670E                     beq        +0x10 /* 000008D8 */
  857. 000008CA  52AD 9E68                addq.l     [A5 - 0x6198], 1
  858. label000008CE:
  859. 000008CE  206D 9E68                movea.l    A0, [A5 - 0x6198]
  860. 000008D2  B1EA 0004                cmpa.l     A0, [A2 + 0x4]
  861. 000008D6  65C2                     bcs        -0x3C /* 0000089A */
  862. label000008D8:
  863. 000008D8  206D 9E68                movea.l    A0, [A5 - 0x6198]
  864. 000008DC  B1EA 0004                cmpa.l     A0, [A2 + 0x4]
  865. 000008E0  6742                     beq        +0x44 /* 00000924 */
  866. 000008E2  2548 000C                move.l     [A2 + 0xC], A0
  867. 000008E6  4EBA 0232                jsr        [PC + 0x232 /* 00000B1A */]
  868. 000008EA  3600                     move.w     D3, D0
  869. 000008EC  660E                     bne        +0x10 /* 000008FC */
  870. 000008EE  4EBA 04CE                jsr        [PC + 0x4CE /* 00000DBE */]
  871. 000008F2  3600                     move.w     D3, D0
  872. 000008F4  6606                     bne        +0x8 /* 000008FC */
  873. 000008F6  4EBA 05A8                jsr        [PC + 0x5A8 /* 00000EA0 */]
  874. 000008FA  3600                     move.w     D3, D0
  875. label000008FC:
  876. 000008FC  206D 9E68                movea.l    A0, [A5 - 0x6198]
  877. 00000900  91ED 9E64                sub.l      A0, [A5 - 0x619C]
  878. 00000904  B0FC 00FA                cmpa.w     A0, 0xFA
  879. 00000908  6D06                     blt        +0x8 /* 00000910 */
  880. 0000090A  4EBA 0778                jsr        [PC + 0x778 /* 00001084 */]
  881. 0000090E  6014                     bra        +0x16 /* 00000924 */
  882. label00000910:
  883. 00000910  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  884. 00000914  5488                     addq.l     A0, 2
  885. 00000916  226D 9E70                movea.l    A1, [A5 - 0x6190]
  886. 0000091A  93C8                     sub.l      A1, A0
  887. 0000091C  5689                     addq.l     A1, 3
  888. 0000091E  2009                     move.l     D0, A1
  889. 00000920  3540 0018                move.w     [A2 + 0x18], D0
  890. label00000924:
  891. 00000924  256D 9E68 0014           move.l     [A2 + 0x14], [A5 - 0x6198]
  892. 0000092A  3543 0012                move.w     [A2 + 0x12], D3
  893. 0000092E  3003                     move.w     D0, D3
  894. 00000930  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  895. 00000934  4E75                     rts
  896. 00000936  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  897. 0000093A  246F 0018                movea.l    A2, [A7 + 0x18]
  898. 0000093E  266F 001C                movea.l    A3, [A7 + 0x1C]
  899. 00000942  3013                     move.w     D0, [A3]
  900. 00000944  0280 0000 C000           andi.l     D0, 0xC000
  901. 0000094A  3612                     move.w     D3, [A2]
  902. 0000094C  0283 0000 C000           andi.l     D3, 0xC000
  903. 00000952  9680                     sub.l      D3, D0
  904. 00000954  4A83                     tst.l      D3
  905. 00000956  6C08                     bge        +0xA /* 00000960 */
  906. 00000958  70FF                     moveq.l    D0, 0xFFFFFFFF
  907. 0000095A  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  908. 0000095E  4E75                     rts
  909. label00000960:
  910. 00000960  4A83                     tst.l      D3
  911. 00000962  6F08                     ble        +0xA /* 0000096C */
  912. 00000964  7001                     moveq.l    D0, 0x01
  913. 00000966  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  914. 0000096A  4E75                     rts
  915. label0000096C:
  916. 0000096C  3012                     move.w     D0, [A2]
  917. 0000096E  0280 0000 8000           andi.l     D0, 0x8000
  918. 00000974  6700 00C6                beq        +0xC8 /* 00000A3C */
  919. 00000978  3012                     move.w     D0, [A2]
  920. 0000097A  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  921. 00000980  6730                     beq        +0x32 /* 000009B2 */
  922. 00000982  3013                     move.w     D0, [A3]
  923. 00000984  0280 0000 2FFF           andi.l     D0, 0x2FFF
  924. 0000098A  3612                     move.w     D3, [A2]
  925. 0000098C  0283 0000 2FFF           andi.l     D3, 0x2FFF
  926. 00000992  9680                     sub.l      D3, D0
  927. 00000994  4A83                     tst.l      D3
  928. 00000996  6C08                     bge        +0xA /* 000009A0 */
  929. 00000998  70FF                     moveq.l    D0, 0xFFFFFFFF
  930. 0000099A  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  931. 0000099E  4E75                     rts
  932. label000009A0:
  933. 000009A0  4A83                     tst.l      D3
  934. 000009A2  6F08                     ble        +0xA /* 000009AC */
  935. 000009A4  7001                     moveq.l    D0, 0x01
  936. 000009A6  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  937. 000009AA  4E75                     rts
  938. label000009AC:
  939. 000009AC  7800                     moveq.l    D4, 0x00
  940. 000009AE  6000 011A                bra        +0x11C /* 00000ACA */
  941. label000009B2:
  942. 000009B2  3013                     move.w     D0, [A3]
  943. 000009B4  0280 0000 2FF0           andi.l     D0, 0x2FF0
  944. 000009BA  E880                     asr        D0, 4
  945. 000009BC  3612                     move.w     D3, [A2]
  946. 000009BE  0283 0000 2FF0           andi.l     D3, 0x2FF0
  947. 000009C4  E883                     asr        D3, 4
  948. 000009C6  9680                     sub.l      D3, D0
  949. 000009C8  4A83                     tst.l      D3
  950. 000009CA  6C18                     bge        +0x1A /* 000009E4 */
  951. 000009CC  3012                     move.w     D0, [A2]
  952. 000009CE  720F                     moveq.l    D1, 0x0F
  953. 000009D0  C081                     and.l      D0, D1
  954. 000009D2  6608                     bne        +0xA /* 000009DC */
  955. 000009D4  70FF                     moveq.l    D0, 0xFFFFFFFF
  956. 000009D6  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  957. 000009DA  4E75                     rts
  958. label000009DC:
  959. 000009DC  7001                     moveq.l    D0, 0x01
  960. 000009DE  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  961. 000009E2  4E75                     rts
  962. label000009E4:
  963. 000009E4  4A83                     tst.l      D3
  964. 000009E6  6F18                     ble        +0x1A /* 00000A00 */
  965. 000009E8  3013                     move.w     D0, [A3]
  966. 000009EA  720F                     moveq.l    D1, 0x0F
  967. 000009EC  C081                     and.l      D0, D1
  968. 000009EE  6608                     bne        +0xA /* 000009F8 */
  969. 000009F0  7001                     moveq.l    D0, 0x01
  970. 000009F2  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  971. 000009F6  4E75                     rts
  972. label000009F8:
  973. 000009F8  70FF                     moveq.l    D0, 0xFFFFFFFF
  974. 000009FA  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  975. 000009FE  4E75                     rts
  976. label00000A00:
  977. 00000A00  3013                     move.w     D0, [A3]
  978. 00000A02  760F                     moveq.l    D3, 0x0F
  979. 00000A04  C083                     and.l      D0, D3
  980. 00000A06  3612                     move.w     D3, [A2]
  981. 00000A08  740F                     moveq.l    D2, 0x0F
  982. 00000A0A  C682                     and.l      D3, D2
  983. 00000A0C  9680                     sub.l      D3, D0
  984. 00000A0E  4A83                     tst.l      D3
  985. 00000A10  6C08                     bge        +0xA /* 00000A1A */
  986. 00000A12  70FF                     moveq.l    D0, 0xFFFFFFFF
  987. 00000A14  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  988. 00000A18  4E75                     rts
  989. label00000A1A:
  990. 00000A1A  4A83                     tst.l      D3
  991. 00000A1C  6F08                     ble        +0xA /* 00000A26 */
  992. 00000A1E  7001                     moveq.l    D0, 0x01
  993. 00000A20  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  994. 00000A24  4E75                     rts
  995. label00000A26:
  996. 00000A26  3012                     move.w     D0, [A2]
  997. 00000A28  720F                     moveq.l    D1, 0x0F
  998. 00000A2A  C081                     and.l      D0, D1
  999. 00000A2C  6608                     bne        +0xA /* 00000A36 */
  1000. 00000A2E  7000                     moveq.l    D0, 0x00
  1001. 00000A30  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1002. 00000A34  4E75                     rts
  1003. label00000A36:
  1004. 00000A36  7801                     moveq.l    D4, 0x01
  1005. 00000A38  6000 0090                bra        +0x92 /* 00000ACA */
  1006. label00000A3C:
  1007. 00000A3C  3012                     move.w     D0, [A2]
  1008. 00000A3E  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  1009. 00000A44  6758                     beq        +0x5A /* 00000A9E */
  1010. 00000A46  3013                     move.w     D0, [A3]
  1011. 00000A48  0280 0000 2FF0           andi.l     D0, 0x2FF0
  1012. 00000A4E  E880                     asr        D0, 4
  1013. 00000A50  3612                     move.w     D3, [A2]
  1014. 00000A52  0283 0000 2FF0           andi.l     D3, 0x2FF0
  1015. 00000A58  E883                     asr        D3, 4
  1016. 00000A5A  9680                     sub.l      D3, D0
  1017. 00000A5C  4A83                     tst.l      D3
  1018. 00000A5E  6C08                     bge        +0xA /* 00000A68 */
  1019. 00000A60  7001                     moveq.l    D0, 0x01
  1020. 00000A62  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1021. 00000A66  4E75                     rts
  1022. label00000A68:
  1023. 00000A68  4A83                     tst.l      D3
  1024. 00000A6A  6F08                     ble        +0xA /* 00000A74 */
  1025. 00000A6C  70FF                     moveq.l    D0, 0xFFFFFFFF
  1026. 00000A6E  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1027. 00000A72  4E75                     rts
  1028. label00000A74:
  1029. 00000A74  3013                     move.w     D0, [A3]
  1030. 00000A76  760F                     moveq.l    D3, 0x0F
  1031. 00000A78  C083                     and.l      D0, D3
  1032. 00000A7A  3612                     move.w     D3, [A2]
  1033. 00000A7C  740F                     moveq.l    D2, 0x0F
  1034. 00000A7E  C682                     and.l      D3, D2
  1035. 00000A80  9680                     sub.l      D3, D0
  1036. 00000A82  4A83                     tst.l      D3
  1037. 00000A84  6C08                     bge        +0xA /* 00000A8E */
  1038. 00000A86  70FF                     moveq.l    D0, 0xFFFFFFFF
  1039. 00000A88  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1040. 00000A8C  4E75                     rts
  1041. label00000A8E:
  1042. 00000A8E  4A83                     tst.l      D3
  1043. 00000A90  6F08                     ble        +0xA /* 00000A9A */
  1044. 00000A92  7001                     moveq.l    D0, 0x01
  1045. 00000A94  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1046. 00000A98  4E75                     rts
  1047. label00000A9A:
  1048. 00000A9A  7802                     moveq.l    D4, 0x02
  1049. 00000A9C  602C                     bra        +0x2E /* 00000ACA */
  1050. label00000A9E:
  1051. 00000A9E  3013                     move.w     D0, [A3]
  1052. 00000AA0  0280 0000 2FFF           andi.l     D0, 0x2FFF
  1053. 00000AA6  3612                     move.w     D3, [A2]
  1054. 00000AA8  0283 0000 2FFF           andi.l     D3, 0x2FFF
  1055. 00000AAE  9680                     sub.l      D3, D0
  1056. 00000AB0  4A83                     tst.l      D3
  1057. 00000AB2  6C08                     bge        +0xA /* 00000ABC */
  1058. 00000AB4  7001                     moveq.l    D0, 0x01
  1059. 00000AB6  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1060. 00000ABA  4E75                     rts
  1061. label00000ABC:
  1062. 00000ABC  4A83                     tst.l      D3
  1063. 00000ABE  6F08                     ble        +0xA /* 00000AC8 */
  1064. 00000AC0  70FF                     moveq.l    D0, 0xFFFFFFFF
  1065. 00000AC2  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1066. 00000AC6  4E75                     rts
  1067. label00000AC8:
  1068. 00000AC8  7803                     moveq.l    D4, 0x03
  1069. label00000ACA:
  1070. 00000ACA  284A                     movea.l    A4, A2
  1071. 00000ACC  548C                     addq.l     A4, 2
  1072. 00000ACE  244B                     movea.l    A2, A3
  1073. 00000AD0  548A                     addq.l     A2, 2
  1074. 00000AD2  2F0A                     move.l     -[A7], A2
  1075. 00000AD4  2F0C                     move.l     -[A7], A4
  1076. 00000AD6  4EAD D95E                jsr        [A5 - 0x26A2]
  1077. 00000ADA  2600                     move.l     D3, D0
  1078. 00000ADC  0C44 0002                cmpi.w     D4, 0x2
  1079. 00000AE0  504F                     addq.w     A7, 8
  1080. 00000AE2  6620                     bne        +0x22 /* 00000B04 */
  1081. 00000AE4  4A83                     tst.l      D3
  1082. 00000AE6  6F08                     ble        +0xA /* 00000AF0 */
  1083. 00000AE8  70FF                     moveq.l    D0, 0xFFFFFFFF
  1084. 00000AEA  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1085. 00000AEE  4E75                     rts
  1086. label00000AF0:
  1087. 00000AF0  4A83                     tst.l      D3
  1088. 00000AF2  6F08                     ble        +0xA /* 00000AFC */
  1089. 00000AF4  7001                     moveq.l    D0, 0x01
  1090. 00000AF6  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1091. 00000AFA  4E75                     rts
  1092. label00000AFC:
  1093. 00000AFC  7000                     moveq.l    D0, 0x00
  1094. 00000AFE  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1095. 00000B02  4E75                     rts
  1096. label00000B04:
  1097. 00000B04  2003                     move.l     D0, D3
  1098. 00000B06  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1099. 00000B0A  4E75                     rts
  1100. 00000B0C  2B6F 0004 9E5A           move.l     [A5 - 0x61A6], [A7 + 0x4]
  1101. 00000B12  3B6F 0008 9E5E           move.w     [A5 - 0x61A2], [A7 + 0x8]
  1102. 00000B18  4E75                     rts
  1103. fn00000B1A:
  1104. 00000B1A  48E7 1F20                movem.l    -[A7], D3,D4,D5,D6,D7,A2
  1105. 00000B1E  7800                     moveq.l    D4, 0x00
  1106. 00000B20  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1107. 00000B24  0C10 002B                cmpi.b     [A0], 0x2B /* '+' */
  1108. 00000B28  660E                     bne        +0x10 /* 00000B38 */
  1109. 00000B2A  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1110. 00000B2E  0050 8000                ori.w      [A0], 0x8000
  1111. 00000B32  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1112. 00000B36  605E                     bra        +0x60 /* 00000B96 */
  1113. label00000B38:
  1114. 00000B38  0C10 002E                cmpi.b     [A0], 0x2E /* '.' */
  1115. 00000B3C  660A                     bne        +0xC /* 00000B48 */
  1116. 00000B3E  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1117. 00000B42  0050 8000                ori.w      [A0], 0x8000
  1118. 00000B46  604E                     bra        +0x50 /* 00000B96 */
  1119. label00000B48:
  1120. 00000B48  0C10 002D                cmpi.b     [A0], 0x2D /* '-' */
  1121. 00000B4C  6606                     bne        +0x8 /* 00000B54 */
  1122. 00000B4E  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1123. 00000B52  6042                     bra        +0x44 /* 00000B96 */
  1124. label00000B54:
  1125. 00000B54  7000                     moveq.l    D0, 0x00
  1126. 00000B56  1010                     move.b     D0, [A0]
  1127. 00000B58  C1FC 0006                muls.w     D0, 0x6
  1128. 00000B5C  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1129. 00000B60  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1130. 00000B66  662E                     bne        +0x30 /* 00000B96 */
  1131. 00000B68  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1132. 00000B6C  0050 8000                ori.w      [A0], 0x8000
  1133. 00000B70  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1134. 00000B74  7600                     moveq.l    D3, 0x00
  1135. 00000B76  1610                     move.b     D3, [A0]
  1136. 00000B78  7030                     moveq.l    D0, 0x30
  1137. 00000B7A  B680                     cmp.l      D3, D0
  1138. 00000B7C  6714                     beq        +0x16 /* 00000B92 */
  1139. 00000B7E  701F                     moveq.l    D0, 0x1F
  1140. 00000B80  72D0                     moveq.l    D1, 0xFFFFFFD0
  1141. 00000B82  D283                     add.l      D1, D3
  1142. 00000B84  C280                     and.l      D1, D0
  1143. 00000B86  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1144. 00000B8A  8350                     or.w       [A0], D1
  1145. 00000B8C  3B7C 0001 9E74           move.w     [A5 - 0x618C], 0x1
  1146. label00000B92:
  1147. 00000B92  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1148. label00000B96:
  1149. 00000B96  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1150. 00000B9A  7E00                     moveq.l    D7, 0x00
  1151. 00000B9C  1E10                     move.b     D7, [A0]
  1152. 00000B9E  CFFC 0006                muls.w     D7, 0x6
  1153. 00000BA2  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1154. 00000BA6  3E30 7800                move.w     D7, [A0 + D7]
  1155. 00000BAA  48C7                     ext.l      D7
  1156. 00000BAC  4A87                     tst.l      D7
  1157. 00000BAE  6700 0090                beq        +0x92 /* 00000C40 */
  1158. 00000BB2  7007                     moveq.l    D0, 0x07
  1159. 00000BB4  BE80                     cmp.l      D7, D0
  1160. 00000BB6  6700 0088                beq        +0x8A /* 00000C40 */
  1161. 00000BBA  6056                     bra        +0x58 /* 00000C12 */
  1162. label00000BBC:
  1163. 00000BBC  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1164. 00000BC0  0C10 0030                cmpi.b     [A0], 0x30 /* '0' */
  1165. 00000BC4  6616                     bne        +0x18 /* 00000BDC */
  1166. 00000BC6  4A6D 9E74                tst.w      [A5 - 0x618C]
  1167. 00000BCA  6742                     beq        +0x44 /* 00000C0E */
  1168. 00000BCC  226D 9E70                movea.l    A1, [A5 - 0x6190]
  1169. 00000BD0  52AD 9E70                addq.l     [A5 - 0x6190], 1
  1170. 00000BD4  1290                     move.b     [A1], [A0]
  1171. 00000BD6  526D 9E76                addq.w     [A5 - 0x618A], 1
  1172. 00000BDA  6032                     bra        +0x34 /* 00000C0E */
  1173. label00000BDC:
  1174. 00000BDC  4A6D 9E74                tst.w      [A5 - 0x618C]
  1175. 00000BE0  661E                     bne        +0x20 /* 00000C00 */
  1176. 00000BE2  3B7C 0001 9E74           move.w     [A5 - 0x618C], 0x1
  1177. 00000BE8  701F                     moveq.l    D0, 0x1F
  1178. 00000BEA  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1179. 00000BEE  7200                     moveq.l    D1, 0x00
  1180. 00000BF0  1210                     move.b     D1, [A0]
  1181. 00000BF2  74D0                     moveq.l    D2, 0xFFFFFFD0
  1182. 00000BF4  D282                     add.l      D1, D2
  1183. 00000BF6  C280                     and.l      D1, D0
  1184. 00000BF8  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1185. 00000BFC  8350                     or.w       [A0], D1
  1186. 00000BFE  600E                     bra        +0x10 /* 00000C0E */
  1187. label00000C00:
  1188. 00000C00  226D 9E70                movea.l    A1, [A5 - 0x6190]
  1189. 00000C04  52AD 9E70                addq.l     [A5 - 0x6190], 1
  1190. 00000C08  1290                     move.b     [A1], [A0]
  1191. 00000C0A  526D 9E76                addq.w     [A5 - 0x618A], 1
  1192. label00000C0E:
  1193. 00000C0E  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1194. label00000C12:
  1195. 00000C12  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1196. 00000C16  7000                     moveq.l    D0, 0x00
  1197. 00000C18  1010                     move.b     D0, [A0]
  1198. 00000C1A  C1FC 0006                muls.w     D0, 0x6
  1199. 00000C1E  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1200. 00000C22  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1201. 00000C28  6616                     bne        +0x18 /* 00000C40 */
  1202. 00000C2A  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1203. 00000C2E  B1ED 9E60                cmpa.l     A0, [A5 - 0x61A0]
  1204. 00000C32  640C                     bcc        +0xE /* 00000C40 */
  1205. 00000C34  91ED 9E64                sub.l      A0, [A5 - 0x619C]
  1206. 00000C38  B0FC 00FA                cmpa.w     A0, 0xFA
  1207. 00000C3C  6F00 FF7E                ble        -0x80 /* 00000BBC */
  1208. label00000C40:
  1209. 00000C40  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1210. 00000C44  91ED 9E64                sub.l      A0, [A5 - 0x619C]
  1211. 00000C48  B0FC 00FA                cmpa.w     A0, 0xFA
  1212. 00000C4C  6D00 0148                blt        +0x14A /* 00000D96 */
  1213. 00000C50  7000                     moveq.l    D0, 0x00
  1214. 00000C52  4CDF 04F8                movem.l    D3,D4,D5,D6,D7,A2, [A7]+
  1215. 00000C56  4E75                     rts
  1216. label00000C58:
  1217. 00000C58  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1218. 00000C5C  4A10                     tst.b      [A0]
  1219. 00000C5E  6700 0150                beq        +0x152 /* 00000DB0 */
  1220. 00000C62  7C00                     moveq.l    D6, 0x00
  1221. 00000C64  1C10                     move.b     D6, [A0]
  1222. 00000C66  702E                     moveq.l    D0, 0x2E
  1223. 00000C68  BC80                     cmp.l      D6, D0
  1224. 00000C6A  6700 0144                beq        +0x146 /* 00000DB0 */
  1225. 00000C6E  7A00                     moveq.l    D5, 0x00
  1226. 00000C70  1A10                     move.b     D5, [A0]
  1227. 00000C72  CBFC 0006                muls.w     D5, 0x6
  1228. 00000C76  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1229. 00000C7A  3A30 5800                move.w     D5, [A0 + D5]
  1230. 00000C7E  48C5                     ext.l      D5
  1231. 00000C80  4A85                     tst.l      D5
  1232. 00000C82  6700 012C                beq        +0x12E /* 00000DB0 */
  1233. 00000C86  7007                     moveq.l    D0, 0x07
  1234. 00000C88  BA80                     cmp.l      D5, D0
  1235. 00000C8A  6700 0124                beq        +0x126 /* 00000DB0 */
  1236. 00000C8E  7065                     moveq.l    D0, 0x65
  1237. 00000C90  BC80                     cmp.l      D6, D0
  1238. 00000C92  6700 011C                beq        +0x11E /* 00000DB0 */
  1239. 00000C96  7045                     moveq.l    D0, 0x45
  1240. 00000C98  BC80                     cmp.l      D6, D0
  1241. 00000C9A  6700 0114                beq        +0x116 /* 00000DB0 */
  1242. 00000C9E  7008                     moveq.l    D0, 0x08
  1243. 00000CA0  BA80                     cmp.l      D5, D0
  1244. 00000CA2  661E                     bne        +0x20 /* 00000CC2 */
  1245. 00000CA4  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1246. 00000CA8  7000                     moveq.l    D0, 0x00
  1247. 00000CAA  1028 0001                move.b     D0, [A0 + 0x1]
  1248. 00000CAE  C1FC 0006                muls.w     D0, 0x6
  1249. 00000CB2  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1250. 00000CB6  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1251. 00000CBC  672A                     beq        +0x2C /* 00000CE8 */
  1252. 00000CBE  6000 00F0                bra        +0xF2 /* 00000DB0 */
  1253. label00000CC2:
  1254. 00000CC2  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1255. 00000CC6  7000                     moveq.l    D0, 0x00
  1256. 00000CC8  1010                     move.b     D0, [A0]
  1257. 00000CCA  C1FC 0006                muls.w     D0, 0x6
  1258. 00000CCE  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1259. 00000CD2  3030 0800                move.w     D0, [A0 + D0]
  1260. 00000CD6  48C0                     ext.l      D0
  1261. 00000CD8  2440                     movea.l    A2, D0
  1262. 00000CDA  7004                     moveq.l    D0, 0x04
  1263. 00000CDC  B5C0                     cmpa.l     A2, D0
  1264. 00000CDE  6708                     beq        +0xA /* 00000CE8 */
  1265. 00000CE0  7005                     moveq.l    D0, 0x05
  1266. 00000CE2  B5C0                     cmpa.l     A2, D0
  1267. 00000CE4  6600 00CA                bne        +0xCC /* 00000DB0 */
  1268. label00000CE8:
  1269. 00000CE8  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1270. 00000CEC  7600                     moveq.l    D3, 0x00
  1271. 00000CEE  6000 0084                bra        +0x86 /* 00000D74 */
  1272. label00000CF2:
  1273. 00000CF2  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1274. 00000CF6  7000                     moveq.l    D0, 0x00
  1275. 00000CF8  1010                     move.b     D0, [A0]
  1276. 00000CFA  C1FC 0006                muls.w     D0, 0x6
  1277. 00000CFE  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1278. 00000D02  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1279. 00000D08  6704                     beq        +0x6 /* 00000D0E */
  1280. 00000D0A  7801                     moveq.l    D4, 0x01
  1281. 00000D0C  607C                     bra        +0x7E /* 00000D8A */
  1282. label00000D0E:
  1283. 00000D0E  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1284. 00000D12  0C10 0030                cmpi.b     [A0], 0x30 /* '0' */
  1285. 00000D16  6620                     bne        +0x22 /* 00000D38 */
  1286. 00000D18  4A6D 9E74                tst.w      [A5 - 0x618C]
  1287. 00000D1C  6606                     bne        +0x8 /* 00000D24 */
  1288. 00000D1E  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1289. 00000D22  604E                     bra        +0x50 /* 00000D72 */
  1290. label00000D24:
  1291. 00000D24  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1292. 00000D28  226D 9E70                movea.l    A1, [A5 - 0x6190]
  1293. 00000D2C  52AD 9E70                addq.l     [A5 - 0x6190], 1
  1294. 00000D30  1290                     move.b     [A1], [A0]
  1295. 00000D32  526D 9E76                addq.w     [A5 - 0x618A], 1
  1296. 00000D36  603A                     bra        +0x3C /* 00000D72 */
  1297. label00000D38:
  1298. 00000D38  4A6D 9E74                tst.w      [A5 - 0x618C]
  1299. 00000D3C  6622                     bne        +0x24 /* 00000D60 */
  1300. 00000D3E  3B7C 0001 9E74           move.w     [A5 - 0x618C], 0x1
  1301. 00000D44  701F                     moveq.l    D0, 0x1F
  1302. 00000D46  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1303. 00000D4A  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1304. 00000D4E  7200                     moveq.l    D1, 0x00
  1305. 00000D50  1210                     move.b     D1, [A0]
  1306. 00000D52  74D0                     moveq.l    D2, 0xFFFFFFD0
  1307. 00000D54  D282                     add.l      D1, D2
  1308. 00000D56  C280                     and.l      D1, D0
  1309. 00000D58  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1310. 00000D5C  8350                     or.w       [A0], D1
  1311. 00000D5E  6012                     bra        +0x14 /* 00000D72 */
  1312. label00000D60:
  1313. 00000D60  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1314. 00000D64  226D 9E70                movea.l    A1, [A5 - 0x6190]
  1315. 00000D68  52AD 9E70                addq.l     [A5 - 0x6190], 1
  1316. 00000D6C  1290                     move.b     [A1], [A0]
  1317. 00000D6E  526D 9E76                addq.w     [A5 - 0x618A], 1
  1318. label00000D72:
  1319. 00000D72  5243                     addq.w     D3, 1
  1320. label00000D74:
  1321. 00000D74  3003                     move.w     D0, D3
  1322. 00000D76  48C0                     ext.l      D0
  1323. 00000D78  7203                     moveq.l    D1, 0x03
  1324. 00000D7A  B081                     cmp.l      D0, D1
  1325. 00000D7C  6C0C                     bge        +0xE /* 00000D8A */
  1326. 00000D7E  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1327. 00000D82  B1ED 9E60                cmpa.l     A0, [A5 - 0x61A0]
  1328. 00000D86  6500 FF6A                bcs        -0x94 /* 00000CF2 */
  1329. label00000D8A:
  1330. 00000D8A  0C43 0003                cmpi.w     D3, 0x3
  1331. 00000D8E  6702                     beq        +0x4 /* 00000D92 */
  1332. 00000D90  7801                     moveq.l    D4, 0x01
  1333. label00000D92:
  1334. 00000D92  4A44                     tst.w      D4
  1335. 00000D94  661A                     bne        +0x1C /* 00000DB0 */
  1336. label00000D96:
  1337. 00000D96  4A44                     tst.w      D4
  1338. 00000D98  6616                     bne        +0x18 /* 00000DB0 */
  1339. 00000D9A  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1340. 00000D9E  B1ED 9E60                cmpa.l     A0, [A5 - 0x61A0]
  1341. 00000DA2  640C                     bcc        +0xE /* 00000DB0 */
  1342. 00000DA4  91ED 9E64                sub.l      A0, [A5 - 0x619C]
  1343. 00000DA8  B0FC 00FA                cmpa.w     A0, 0xFA
  1344. 00000DAC  6F00 FEAA                ble        -0x154 /* 00000C58 */
  1345. label00000DB0:
  1346. 00000DB0  206D 9E70                movea.l    A0, [A5 - 0x6190]
  1347. 00000DB4  4210                     clr.b      [A0]
  1348. 00000DB6  3004                     move.w     D0, D4
  1349. 00000DB8  4CDF 04F8                movem.l    D3,D4,D5,D6,D7,A2, [A7]+
  1350. 00000DBC  4E75                     rts
  1351. fn00000DBE:
  1352. 00000DBE  48E7 1800                movem.l    -[A7], D3,D4
  1353. 00000DC2  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1354. 00000DC6  0C10 002E                cmpi.b     [A0], 0x2E /* '.' */
  1355. 00000DCA  6600 00C6                bne        +0xC8 /* 00000E92 */
  1356. 00000DCE  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1357. 00000DD2  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1358. 00000DD6  1610                     move.b     D3, [A0]
  1359. 00000DD8  7800                     moveq.l    D4, 0x00
  1360. 00000DDA  1803                     move.b     D4, D3
  1361. 00000DDC  7065                     moveq.l    D0, 0x65
  1362. 00000DDE  B880                     cmp.l      D4, D0
  1363. 00000DE0  6722                     beq        +0x24 /* 00000E04 */
  1364. 00000DE2  7045                     moveq.l    D0, 0x45
  1365. 00000DE4  B880                     cmp.l      D4, D0
  1366. 00000DE6  671C                     beq        +0x1E /* 00000E04 */
  1367. 00000DE8  7000                     moveq.l    D0, 0x00
  1368. 00000DEA  1003                     move.b     D0, D3
  1369. 00000DEC  C1FC 0006                muls.w     D0, 0x6
  1370. 00000DF0  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1371. 00000DF4  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1372. 00000DFA  6708                     beq        +0xA /* 00000E04 */
  1373. 00000DFC  7001                     moveq.l    D0, 0x01
  1374. 00000DFE  4CDF 0018                movem.l    D3,D4, [A7]+
  1375. 00000E02  4E75                     rts
  1376. label00000E04:
  1377. 00000E04  4A6D 9E74                tst.w      [A5 - 0x618C]
  1378. 00000E08  665C                     bne        +0x5E /* 00000E66 */
  1379. 00000E0A  3B7C FFFF 9E76           move.w     [A5 - 0x618A], 0xFFFF
  1380. 00000E10  6054                     bra        +0x56 /* 00000E66 */
  1381. label00000E12:
  1382. 00000E12  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1383. 00000E16  0C10 0030                cmpi.b     [A0], 0x30 /* '0' */
  1384. 00000E1A  6618                     bne        +0x1A /* 00000E34 */
  1385. 00000E1C  4A6D 9E74                tst.w      [A5 - 0x618C]
  1386. 00000E20  6606                     bne        +0x8 /* 00000E28 */
  1387. 00000E22  536D 9E76                subq.w     [A5 - 0x618A], 1
  1388. 00000E26  603A                     bra        +0x3C /* 00000E62 */
  1389. label00000E28:
  1390. 00000E28  226D 9E70                movea.l    A1, [A5 - 0x6190]
  1391. 00000E2C  52AD 9E70                addq.l     [A5 - 0x6190], 1
  1392. 00000E30  1290                     move.b     [A1], [A0]
  1393. 00000E32  602E                     bra        +0x30 /* 00000E62 */
  1394. label00000E34:
  1395. 00000E34  4A6D 9E74                tst.w      [A5 - 0x618C]
  1396. 00000E38  661E                     bne        +0x20 /* 00000E58 */
  1397. 00000E3A  3B7C 0001 9E74           move.w     [A5 - 0x618C], 0x1
  1398. 00000E40  701F                     moveq.l    D0, 0x1F
  1399. 00000E42  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1400. 00000E46  7200                     moveq.l    D1, 0x00
  1401. 00000E48  1210                     move.b     D1, [A0]
  1402. 00000E4A  74D0                     moveq.l    D2, 0xFFFFFFD0
  1403. 00000E4C  D282                     add.l      D1, D2
  1404. 00000E4E  C280                     and.l      D1, D0
  1405. 00000E50  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1406. 00000E54  8350                     or.w       [A0], D1
  1407. 00000E56  600A                     bra        +0xC /* 00000E62 */
  1408. label00000E58:
  1409. 00000E58  226D 9E70                movea.l    A1, [A5 - 0x6190]
  1410. 00000E5C  52AD 9E70                addq.l     [A5 - 0x6190], 1
  1411. 00000E60  1290                     move.b     [A1], [A0]
  1412. label00000E62:
  1413. 00000E62  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1414. label00000E66:
  1415. 00000E66  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1416. 00000E6A  7000                     moveq.l    D0, 0x00
  1417. 00000E6C  1010                     move.b     D0, [A0]
  1418. 00000E6E  C1FC 0006                muls.w     D0, 0x6
  1419. 00000E72  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1420. 00000E76  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1421. 00000E7C  6614                     bne        +0x16 /* 00000E92 */
  1422. 00000E7E  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1423. 00000E82  B1ED 9E60                cmpa.l     A0, [A5 - 0x61A0]
  1424. 00000E86  640A                     bcc        +0xC /* 00000E92 */
  1425. 00000E88  91ED 9E64                sub.l      A0, [A5 - 0x619C]
  1426. 00000E8C  B0FC 00FA                cmpa.w     A0, 0xFA
  1427. 00000E90  6F80                     ble        -0x7E /* 00000E12 */
  1428. label00000E92:
  1429. 00000E92  206D 9E70                movea.l    A0, [A5 - 0x6190]
  1430. 00000E96  4210                     clr.b      [A0]
  1431. 00000E98  7000                     moveq.l    D0, 0x00
  1432. 00000E9A  4CDF 0018                movem.l    D3,D4, [A7]+
  1433. 00000E9E  4E75                     rts
  1434. fn00000EA0:
  1435. 00000EA0  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  1436. 00000EA4  4FEF FFDE                lea.l      A7, [A7 - 0x22]
  1437. 00000EA8  7A00                     moveq.l    D5, 0x00
  1438. 00000EAA  7600                     moveq.l    D3, 0x00
  1439. 00000EAC  4257                     clr.w      [A7]
  1440. 00000EAE  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1441. 00000EB2  7C00                     moveq.l    D6, 0x00
  1442. 00000EB4  1C10                     move.b     D6, [A0]
  1443. 00000EB6  7065                     moveq.l    D0, 0x65
  1444. 00000EB8  BC80                     cmp.l      D6, D0
  1445. 00000EBA  6706                     beq        +0x8 /* 00000EC2 */
  1446. 00000EBC  7045                     moveq.l    D0, 0x45
  1447. 00000EBE  BC80                     cmp.l      D6, D0
  1448. 00000EC0  6632                     bne        +0x34 /* 00000EF4 */
  1449. label00000EC2:
  1450. 00000EC2  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1451. 00000EC6  1828 0001                move.b     D4, [A0 + 0x1]
  1452. 00000ECA  7E00                     moveq.l    D7, 0x00
  1453. 00000ECC  1E04                     move.b     D7, D4
  1454. 00000ECE  702B                     moveq.l    D0, 0x2B
  1455. 00000ED0  BE80                     cmp.l      D7, D0
  1456. 00000ED2  671A                     beq        +0x1C /* 00000EEE */
  1457. 00000ED4  702D                     moveq.l    D0, 0x2D
  1458. 00000ED6  BE80                     cmp.l      D7, D0
  1459. 00000ED8  6714                     beq        +0x16 /* 00000EEE */
  1460. 00000EDA  7000                     moveq.l    D0, 0x00
  1461. 00000EDC  1004                     move.b     D0, D4
  1462. 00000EDE  C1FC 0006                muls.w     D0, 0x6
  1463. 00000EE2  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1464. 00000EE6  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1465. 00000EEC  6602                     bne        +0x4 /* 00000EF0 */
  1466. label00000EEE:
  1467. 00000EEE  7A01                     moveq.l    D5, 0x01
  1468. label00000EF0:
  1469. 00000EF0  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1470. label00000EF4:
  1471. 00000EF4  4A45                     tst.w      D5
  1472. 00000EF6  6700 00E0                beq        +0xE2 /* 00000FD8 */
  1473. 00000EFA  45EF 0004                lea.l      A2, [A7 + 0x4]
  1474. 00000EFE  7800                     moveq.l    D4, 0x00
  1475. 00000F00  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1476. 00000F04  0C10 002D                cmpi.b     [A0], 0x2D /* '-' */
  1477. 00000F08  6608                     bne        +0xA /* 00000F12 */
  1478. 00000F0A  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1479. 00000F0E  7601                     moveq.l    D3, 0x01
  1480. 00000F10  600A                     bra        +0xC /* 00000F1C */
  1481. label00000F12:
  1482. 00000F12  0C10 002B                cmpi.b     [A0], 0x2B /* '+' */
  1483. 00000F16  6604                     bne        +0x6 /* 00000F1C */
  1484. 00000F18  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1485. label00000F1C:
  1486. 00000F1C  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1487. 00000F20  1F50 0003                move.b     [A7 + 0x3], [A0]
  1488. 00000F24  4A2F 0003                tst.b      [A7 + 0x3]
  1489. 00000F28  6746                     beq        +0x48 /* 00000F70 */
  1490. 00000F2A  7000                     moveq.l    D0, 0x00
  1491. 00000F2C  102F 0003                move.b     D0, [A7 + 0x3]
  1492. 00000F30  C1FC 0006                muls.w     D0, 0x6
  1493. 00000F34  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1494. 00000F38  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1495. 00000F3E  6730                     beq        +0x32 /* 00000F70 */
  1496. 00000F40  7001                     moveq.l    D0, 0x01
  1497. 00000F42  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1498. 00000F46  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  1499. 00000F4A  4E75                     rts
  1500. label00000F4C:
  1501. 00000F4C  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1502. 00000F50  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1503. 00000F54  14D0                     move.b     [A2]+, [A0]
  1504. 00000F56  41EF 0004                lea.l      A0, [A7 + 0x4]
  1505. 00000F5A  224A                     movea.l    A1, A2
  1506. 00000F5C  93C8                     sub.l      A1, A0
  1507. 00000F5E  701E                     moveq.l    D0, 0x1E
  1508. 00000F60  B3C0                     cmpa.l     A1, D0
  1509. 00000F62  6D0C                     blt        +0xE /* 00000F70 */
  1510. 00000F64  7001                     moveq.l    D0, 0x01
  1511. 00000F66  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1512. 00000F6A  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  1513. 00000F6E  4E75                     rts
  1514. label00000F70:
  1515. 00000F70  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1516. 00000F74  7000                     moveq.l    D0, 0x00
  1517. 00000F76  1010                     move.b     D0, [A0]
  1518. 00000F78  C1FC 0006                muls.w     D0, 0x6
  1519. 00000F7C  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1520. 00000F80  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1521. 00000F86  6614                     bne        +0x16 /* 00000F9C */
  1522. 00000F88  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1523. 00000F8C  B1ED 9E60                cmpa.l     A0, [A5 - 0x61A0]
  1524. 00000F90  640A                     bcc        +0xC /* 00000F9C */
  1525. 00000F92  91ED 9E64                sub.l      A0, [A5 - 0x619C]
  1526. 00000F96  B0FC 00FA                cmpa.w     A0, 0xFA
  1527. 00000F9A  67B0                     beq        -0x4E /* 00000F4C */
  1528. label00000F9C:
  1529. 00000F9C  421A                     clr.b      [A2]+
  1530. 00000F9E  4878 000A                push.l     0xA /* '\n' */
  1531. 00000FA2  42A7                     clr.l      -[A7]
  1532. 00000FA4  486F 000C                pea.l      [A7 + 0xC]
  1533. 00000FA8  4EAD D940                jsr        [A5 - 0x26C0]
  1534. 00000FAC  2800                     move.l     D4, D0
  1535. 00000FAE  0C80 0000 07FF           cmpi.l     D0, 0x7FF
  1536. 00000FB4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1537. 00000FB8  6F0C                     ble        +0xE /* 00000FC6 */
  1538. 00000FBA  7001                     moveq.l    D0, 0x01
  1539. 00000FBC  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1540. 00000FC0  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  1541. 00000FC4  4E75                     rts
  1542. label00000FC6:
  1543. 00000FC6  4A43                     tst.w      D3
  1544. 00000FC8  670A                     beq        +0xC /* 00000FD4 */
  1545. 00000FCA  2004                     move.l     D0, D4
  1546. 00000FCC  72FF                     moveq.l    D1, 0xFFFFFFFF
  1547. 00000FCE  4EAD D8F8                jsr        [A5 - 0x2708]
  1548. 00000FD2  2800                     move.l     D4, D0
  1549. label00000FD4:
  1550. 00000FD4  D96D 9E76                add.w      [A5 - 0x618A], D4
  1551. label00000FD8:
  1552. 00000FD8  302D 9E76                move.w     D0, [A5 - 0x618A]
  1553. 00000FDC  48C0                     ext.l      D0
  1554. 00000FDE  4A80                     tst.l      D0
  1555. 00000FE0  6C02                     bge        +0x4 /* 00000FE4 */
  1556. 00000FE2  7601                     moveq.l    D3, 0x01
  1557. label00000FE4:
  1558. 00000FE4  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1559. 00000FE8  3010                     move.w     D0, [A0]
  1560. 00000FEA  0280 0000 2FFF           andi.l     D0, 0x2FFF
  1561. 00000FF0  6602                     bne        +0x4 /* 00000FF4 */
  1562. 00000FF2  7601                     moveq.l    D3, 0x01
  1563. label00000FF4:
  1564. 00000FF4  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1565. 00000FF8  3010                     move.w     D0, [A0]
  1566. 00000FFA  0280 0000 8000           andi.l     D0, 0x8000
  1567. 00001000  670A                     beq        +0xC /* 0000100C */
  1568. 00001002  4A43                     tst.w      D3
  1569. 00001004  660E                     bne        +0x10 /* 00001014 */
  1570. 00001006  0050 4000                ori.w      [A0], 0x4000 /* '@\0' */
  1571. 0000100A  6008                     bra        +0xA /* 00001014 */
  1572. label0000100C:
  1573. 0000100C  4A43                     tst.w      D3
  1574. 0000100E  6704                     beq        +0x6 /* 00001014 */
  1575. 00001010  0050 4000                ori.w      [A0], 0x4000 /* '@\0' */
  1576. label00001014:
  1577. 00001014  286D 9E6C                movea.l    A4, [A5 - 0x6194]
  1578. 00001018  548C                     addq.l     A4, 2
  1579. 0000101A  B9ED 9E70                cmpa.l     A4, [A5 - 0x6190]
  1580. 0000101E  6722                     beq        +0x24 /* 00001042 */
  1581. 00001020  246D 9E70                movea.l    A2, [A5 - 0x6190]
  1582. 00001024  538A                     subq.l     A2, 1
  1583. 00001026  264C                     movea.l    A3, A4
  1584. 00001028  7600                     moveq.l    D3, 0x00
  1585. 0000102A  6004                     bra        +0x6 /* 00001030 */
  1586. label0000102C:
  1587. 0000102C  538A                     subq.l     A2, 1
  1588. 0000102E  5243                     addq.w     D3, 1
  1589. label00001030:
  1590. 00001030  0C12 0030                cmpi.b     [A2], 0x30 /* '0' */
  1591. 00001034  6604                     bne        +0x6 /* 0000103A */
  1592. 00001036  B5CB                     cmpa.l     A2, A3
  1593. 00001038  62F2                     bhi        -0xC /* 0000102C */
  1594. label0000103A:
  1595. 0000103A  4A43                     tst.w      D3
  1596. 0000103C  6704                     beq        +0x6 /* 00001042 */
  1597. 0000103E  422A 0001                clr.b      [A2 + 0x1]
  1598. label00001042:
  1599. 00001042  302D 9E76                move.w     D0, [A5 - 0x618A]
  1600. 00001046  48C0                     ext.l      D0
  1601. 00001048  4A80                     tst.l      D0
  1602. 0000104A  6C0E                     bge        +0x10 /* 0000105A */
  1603. 0000104C  302D 9E76                move.w     D0, [A5 - 0x618A]
  1604. 00001050  48C0                     ext.l      D0
  1605. 00001052  C1FC FFFF                muls.w     D0, 0xFFFF
  1606. 00001056  3B40 9E76                move.w     [A5 - 0x618A], D0
  1607. label0000105A:
  1608. 0000105A  206D 9E6C                movea.l    A0, [A5 - 0x6194]
  1609. 0000105E  3010                     move.w     D0, [A0]
  1610. 00001060  0280 0000 2FFF           andi.l     D0, 0x2FFF
  1611. 00001066  6710                     beq        +0x12 /* 00001078 */
  1612. 00001068  302D 9E76                move.w     D0, [A5 - 0x618A]
  1613. 0000106C  48C0                     ext.l      D0
  1614. 0000106E  E988                     lsl        D0, 4
  1615. 00001070  0280 0000 2FF0           andi.l     D0, 0x2FF0
  1616. 00001076  8150                     or.w       [A0], D0
  1617. label00001078:
  1618. 00001078  3017                     move.w     D0, [A7]
  1619. 0000107A  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1620. 0000107E  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  1621. 00001082  4E75                     rts
  1622. fn00001084:
  1623. 00001084  6046                     bra        +0x48 /* 000010CC */
  1624. label00001086:
  1625. 00001086  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1626. 0000108A  7000                     moveq.l    D0, 0x00
  1627. 0000108C  1028 0001                move.b     D0, [A0 + 0x1]
  1628. 00001090  C1FC 0006                muls.w     D0, 0x6
  1629. 00001094  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1630. 00001098  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  1631. 0000109E  6728                     beq        +0x2A /* 000010C8 */
  1632. 000010A0  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1633. 000010A4  7200                     moveq.l    D1, 0x00
  1634. 000010A6  1210                     move.b     D1, [A0]
  1635. 000010A8  C3FC 0006                muls.w     D1, 0x6
  1636. 000010AC  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1637. 000010B0  3230 1800                move.w     D1, [A0 + D1]
  1638. 000010B4  48C1                     ext.l      D1
  1639. 000010B6  7008                     moveq.l    D0, 0x08
  1640. 000010B8  B280                     cmp.l      D1, D0
  1641. 000010BA  670C                     beq        +0xE /* 000010C8 */
  1642. 000010BC  7004                     moveq.l    D0, 0x04
  1643. 000010BE  B280                     cmp.l      D1, D0
  1644. 000010C0  6706                     beq        +0x8 /* 000010C8 */
  1645. 000010C2  7005                     moveq.l    D0, 0x05
  1646. 000010C4  B280                     cmp.l      D1, D0
  1647. 000010C6  6638                     bne        +0x3A /* 00001100 */
  1648. label000010C8:
  1649. 000010C8  52AD 9E68                addq.l     [A5 - 0x6198], 1
  1650. label000010CC:
  1651. 000010CC  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1652. 000010D0  7400                     moveq.l    D2, 0x00
  1653. 000010D2  1410                     move.b     D2, [A0]
  1654. 000010D4  C5FC 0006                muls.w     D2, 0x6
  1655. 000010D8  206D 9E5A                movea.l    A0, [A5 - 0x61A6]
  1656. 000010DC  3430 2800                move.w     D2, [A0 + D2]
  1657. 000010E0  48C2                     ext.l      D2
  1658. 000010E2  4A82                     tst.l      D2
  1659. 000010E4  671A                     beq        +0x1C /* 00001100 */
  1660. 000010E6  7007                     moveq.l    D0, 0x07
  1661. 000010E8  B480                     cmp.l      D2, D0
  1662. 000010EA  6714                     beq        +0x16 /* 00001100 */
  1663. 000010EC  206D 9E68                movea.l    A0, [A5 - 0x6198]
  1664. 000010F0  B1ED 9E60                cmpa.l     A0, [A5 - 0x61A0]
  1665. 000010F4  640A                     bcc        +0xC /* 00001100 */
  1666. 000010F6  91ED 9E64                sub.l      A0, [A5 - 0x619C]
  1667. 000010FA  B0FC 00FA                cmpa.w     A0, 0xFA
  1668. 000010FE  6F86                     ble        -0x78 /* 00001086 */
  1669. label00001100:
  1670. 00001100  4E75                     rts
  1671. 00001102  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  1672. 00001106  262F 0024                move.l     D3, [A7 + 0x24]
  1673. 0000110A  2043                     movea.l    A0, D3
  1674. 0000110C  2C68 0008                movea.l    A6, [A0 + 0x8]
  1675. 00001110  244E                     movea.l    A2, A6
  1676. 00001112  2668 001A                movea.l    A3, [A0 + 0x1A]
  1677. 00001116  2868 0004                movea.l    A4, [A0 + 0x4]
  1678. 0000111A  2243                     movea.l    A1, D3
  1679. 0000111C  2368 0008 0014           move.l     [A1 + 0x14], [A0 + 0x8]
  1680. 00001122  4268 0012                clr.w      [A0 + 0x12]
  1681. 00001126  602C                     bra        +0x2E /* 00001154 */
  1682. label00001128:
  1683. 00001128  7A00                     moveq.l    D5, 0x00
  1684. 0000112A  1A12                     move.b     D5, [A2]
  1685. 0000112C  CBFC 0006                muls.w     D5, 0x6
  1686. 00001130  206D 9E78                movea.l    A0, [A5 - 0x6188]
  1687. 00001134  3A30 5800                move.w     D5, [A0 + D5]
  1688. 00001138  48C5                     ext.l      D5
  1689. 0000113A  7001                     moveq.l    D0, 0x01
  1690. 0000113C  BA80                     cmp.l      D5, D0
  1691. 0000113E  6718                     beq        +0x1A /* 00001158 */
  1692. 00001140  7002                     moveq.l    D0, 0x02
  1693. 00001142  BA80                     cmp.l      D5, D0
  1694. 00001144  6712                     beq        +0x14 /* 00001158 */
  1695. 00001146  7003                     moveq.l    D0, 0x03
  1696. 00001148  BA80                     cmp.l      D5, D0
  1697. 0000114A  670C                     beq        +0xE /* 00001158 */
  1698. 0000114C  7010                     moveq.l    D0, 0x10
  1699. 0000114E  BA80                     cmp.l      D5, D0
  1700. 00001150  6706                     beq        +0x8 /* 00001158 */
  1701. 00001152  528A                     addq.l     A2, 1
  1702. label00001154:
  1703. 00001154  B5CC                     cmpa.l     A2, A4
  1704. 00001156  65D0                     bcs        -0x2E /* 00001128 */
  1705. label00001158:
  1706. 00001158  2043                     movea.l    A0, D3
  1707. 0000115A  B5E8 0004                cmpa.l     A2, [A0 + 0x4]
  1708. 0000115E  6610                     bne        +0x12 /* 00001170 */
  1709. 00001160  4268 0018                clr.w      [A0 + 0x18]
  1710. 00001164  2243                     movea.l    A1, D3
  1711. 00001166  2368 0008 000C           move.l     [A1 + 0xC], [A0 + 0x8]
  1712. 0000116C  6000 015E                bra        +0x160 /* 000012CC */
  1713. label00001170:
  1714. 00001170  421B                     clr.b      [A3]+
  1715. 00001172  B5CC                     cmpa.l     A2, A4
  1716. 00001174  6400 00AE                bcc        +0xB0 /* 00001224 */
  1717. 00001178  214A 000C                move.l     [A0 + 0xC], A2
  1718. 0000117C  6000 0096                bra        +0x98 /* 00001214 */
  1719. label00001180:
  1720. 00001180  7C00                     moveq.l    D6, 0x00
  1721. 00001182  1C12                     move.b     D6, [A2]
  1722. 00001184  CDFC 0006                muls.w     D6, 0x6
  1723. 00001188  206D 9E78                movea.l    A0, [A5 - 0x6188]
  1724. 0000118C  3C30 6800                move.w     D6, [A0 + D6]
  1725. 00001190  48C6                     ext.l      D6
  1726. 00001192  7001                     moveq.l    D0, 0x01
  1727. 00001194  BC80                     cmp.l      D6, D0
  1728. 00001196  6706                     beq        +0x8 /* 0000119E */
  1729. 00001198  7003                     moveq.l    D0, 0x03
  1730. 0000119A  BC80                     cmp.l      D6, D0
  1731. 0000119C  6604                     bne        +0x6 /* 000011A2 */
  1732. label0000119E:
  1733. 0000119E  16D2                     move.b     [A3]+, [A2]
  1734. 000011A0  6070                     bra        +0x72 /* 00001212 */
  1735. label000011A2:
  1736. 000011A2  7002                     moveq.l    D0, 0x02
  1737. 000011A4  BC80                     cmp.l      D6, D0
  1738. 000011A6  6610                     bne        +0x12 /* 000011B8 */
  1739. 000011A8  7000                     moveq.l    D0, 0x00
  1740. 000011AA  1012                     move.b     D0, [A2]
  1741. 000011AC  C1FC 0006                muls.w     D0, 0x6
  1742. 000011B0  3030 0802                move.w     D0, [A0 + D0 + 0x2]
  1743. 000011B4  16C0                     move.b     [A3]+, D0
  1744. 000011B6  605A                     bra        +0x5C /* 00001212 */
  1745. label000011B8:
  1746. 000011B8  7000                     moveq.l    D0, 0x00
  1747. 000011BA  1012                     move.b     D0, [A2]
  1748. 000011BC  C1FC 0006                muls.w     D0, 0x6
  1749. 000011C0  0C70 0010 0800           cmpi.w     [A0 + D0], 0x10
  1750. 000011C6  6622                     bne        +0x24 /* 000011EA */
  1751. 000011C8  7000                     moveq.l    D0, 0x00
  1752. 000011CA  1012                     move.b     D0, [A2]
  1753. 000011CC  C1FC 0006                muls.w     D0, 0x6
  1754. 000011D0  3030 0802                move.w     D0, [A0 + D0 + 0x2]
  1755. 000011D4  16C0                     move.b     [A3]+, D0
  1756. 000011D6  7000                     moveq.l    D0, 0x00
  1757. 000011D8  1012                     move.b     D0, [A2]
  1758. 000011DA  C1FC 0006                muls.w     D0, 0x6
  1759. 000011DE  206D 9E78                movea.l    A0, [A5 - 0x6188]
  1760. 000011E2  3030 0804                move.w     D0, [A0 + D0 + 0x4]
  1761. 000011E6  16C0                     move.b     [A3]+, D0
  1762. 000011E8  6028                     bra        +0x2A /* 00001212 */
  1763. label000011EA:
  1764. 000011EA  7000                     moveq.l    D0, 0x00
  1765. 000011EC  1012                     move.b     D0, [A2]
  1766. 000011EE  C1FC 0006                muls.w     D0, 0x6
  1767. 000011F2  0C70 0006 0800           cmpi.w     [A0 + D0], 0x6
  1768. 000011F8  6606                     bne        +0x8 /* 00001200 */
  1769. 000011FA  16FC 0020                move.b     [A3]+, 0x20 /* ' ' */
  1770. 000011FE  6012                     bra        +0x14 /* 00001212 */
  1771. label00001200:
  1772. 00001200  0C12 002A                cmpi.b     [A2], 0x2A /* '*' */
  1773. 00001204  661E                     bne        +0x20 /* 00001224 */
  1774. 00001206  2043                     movea.l    A0, D3
  1775. 00001208  4A68 0010                tst.w      [A0 + 0x10]
  1776. 0000120C  6716                     beq        +0x18 /* 00001224 */
  1777. 0000120E  16DA                     move.b     [A3]+, [A2]+
  1778. 00001210  6012                     bra        +0x14 /* 00001224 */
  1779. label00001212:
  1780. 00001212  528A                     addq.l     A2, 1
  1781. label00001214:
  1782. 00001214  B5CC                     cmpa.l     A2, A4
  1783. 00001216  640C                     bcc        +0xE /* 00001224 */
  1784. 00001218  204A                     movea.l    A0, A2
  1785. 0000121A  91CE                     sub.l      A0, A6
  1786. 0000121C  B0FC 00FA                cmpa.w     A0, 0xFA
  1787. 00001220  6F00 FF5E                ble        -0xA0 /* 00001180 */
  1788. label00001224:
  1789. 00001224  204A                     movea.l    A0, A2
  1790. 00001226  91CE                     sub.l      A0, A6
  1791. 00001228  B0FC 00FA                cmpa.w     A0, 0xFA
  1792. 0000122C  6D50                     blt        +0x52 /* 0000127E */
  1793. 0000122E  2C4A                     movea.l    A6, A2
  1794. 00001230  6046                     bra        +0x48 /* 00001278 */
  1795. label00001232:
  1796. 00001232  7800                     moveq.l    D4, 0x00
  1797. 00001234  1812                     move.b     D4, [A2]
  1798. 00001236  C9FC 0006                muls.w     D4, 0x6
  1799. 0000123A  206D 9E78                movea.l    A0, [A5 - 0x6188]
  1800. 0000123E  3830 4800                move.w     D4, [A0 + D4]
  1801. 00001242  48C4                     ext.l      D4
  1802. 00001244  7001                     moveq.l    D0, 0x01
  1803. 00001246  B880                     cmp.l      D4, D0
  1804. 00001248  6718                     beq        +0x1A /* 00001262 */
  1805. 0000124A  7003                     moveq.l    D0, 0x03
  1806. 0000124C  B880                     cmp.l      D4, D0
  1807. 0000124E  6712                     beq        +0x14 /* 00001262 */
  1808. 00001250  7002                     moveq.l    D0, 0x02
  1809. 00001252  B880                     cmp.l      D4, D0
  1810. 00001254  670C                     beq        +0xE /* 00001262 */
  1811. 00001256  7010                     moveq.l    D0, 0x10
  1812. 00001258  B880                     cmp.l      D4, D0
  1813. 0000125A  6706                     beq        +0x8 /* 00001262 */
  1814. 0000125C  7006                     moveq.l    D0, 0x06
  1815. 0000125E  B880                     cmp.l      D4, D0
  1816. 00001260  6604                     bne        +0x6 /* 00001266 */
  1817. label00001262:
  1818. 00001262  528A                     addq.l     A2, 1
  1819. 00001264  6012                     bra        +0x14 /* 00001278 */
  1820. label00001266:
  1821. 00001266  0C12 002A                cmpi.b     [A2], 0x2A /* '*' */
  1822. 0000126A  6610                     bne        +0x12 /* 0000127C */
  1823. 0000126C  2043                     movea.l    A0, D3
  1824. 0000126E  4A68 0010                tst.w      [A0 + 0x10]
  1825. 00001272  6708                     beq        +0xA /* 0000127C */
  1826. 00001274  528A                     addq.l     A2, 1
  1827. 00001276  6004                     bra        +0x6 /* 0000127C */
  1828. label00001278:
  1829. 00001278  B5CC                     cmpa.l     A2, A4
  1830. 0000127A  65B6                     bcs        -0x48 /* 00001232 */
  1831. label0000127C:
  1832. 0000127C  244E                     movea.l    A2, A6
  1833. label0000127E:
  1834. 0000127E  2043                     movea.l    A0, D3
  1835. 00001280  224B                     movea.l    A1, A3
  1836. 00001282  93E8 001A                sub.l      A1, [A0 + 0x1A]
  1837. 00001286  2009                     move.l     D0, A1
  1838. 00001288  3140 0018                move.w     [A0 + 0x18], D0
  1839. 0000128C  0C68 0001 0018           cmpi.w     [A0 + 0x18], 0x1
  1840. 00001292  6606                     bne        +0x8 /* 0000129A */
  1841. 00001294  4268 0018                clr.w      [A0 + 0x18]
  1842. 00001298  6032                     bra        +0x34 /* 000012CC */
  1843. label0000129A:
  1844. 0000129A  3028 0018                move.w     D0, [A0 + 0x18]
  1845. 0000129E  48C0                     ext.l      D0
  1846. 000012A0  5380                     subq.l     D0, 1
  1847. 000012A2  2068 001A                movea.l    A0, [A0 + 0x1A]
  1848. 000012A6  1080                     move.b     [A0], D0
  1849. 000012A8  2043                     movea.l    A0, D3
  1850. 000012AA  3F28 0010                move.w     -[A7], [A0 + 0x10]
  1851. 000012AE  2F28 001A                move.l     -[A7], [A0 + 0x1A]
  1852. 000012B2  4EBA 010A                jsr        [PC + 0x10A /* 000013BE */]
  1853. 000012B6  2043                     movea.l    A0, D3
  1854. 000012B8  2068 001A                movea.l    A0, [A0 + 0x1A]
  1855. 000012BC  7000                     moveq.l    D0, 0x00
  1856. 000012BE  1010                     move.b     D0, [A0]
  1857. 000012C0  48C0                     ext.l      D0
  1858. 000012C2  5280                     addq.l     D0, 1
  1859. 000012C4  2043                     movea.l    A0, D3
  1860. 000012C6  3140 0018                move.w     [A0 + 0x18], D0
  1861. 000012CA  5C4F                     addq.w     A7, 6
  1862. label000012CC:
  1863. 000012CC  2043                     movea.l    A0, D3
  1864. 000012CE  214A 0014                move.l     [A0 + 0x14], A2
  1865. 000012D2  3028 0012                move.w     D0, [A0 + 0x12]
  1866. 000012D6  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  1867. 000012DA  4E75                     rts
  1868. 000012DC  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  1869. 000012E0  246F 0018                movea.l    A2, [A7 + 0x18]
  1870. 000012E4  266F 001C                movea.l    A3, [A7 + 0x1C]
  1871. 000012E8  7600                     moveq.l    D3, 0x00
  1872. 000012EA  1612                     move.b     D3, [A2]
  1873. 000012EC  7800                     moveq.l    D4, 0x00
  1874. 000012EE  1813                     move.b     D4, [A3]
  1875. 000012F0  528A                     addq.l     A2, 1
  1876. 000012F2  528B                     addq.l     A3, 1
  1877. 000012F4  0C32 002A 30FF           cmpi.b     [A2 + D3.w - 0x1], 0x2A /* '*' */
  1878. 000012FA  6602                     bne        +0x4 /* 000012FE */
  1879. 000012FC  5343                     subq.w     D3, 1
  1880. label000012FE:
  1881. 000012FE  B843                     cmp.w      D4, D3
  1882. 00001300  6D04                     blt        +0x6 /* 00001306 */
  1883. 00001302  3003                     move.w     D0, D3
  1884. 00001304  6002                     bra        +0x4 /* 00001308 */
  1885. label00001306:
  1886. 00001306  3004                     move.w     D0, D4
  1887. label00001308:
  1888. 00001308  48C0                     ext.l      D0
  1889. 0000130A  2F00                     move.l     -[A7], D0
  1890. 0000130C  2F0B                     move.l     -[A7], A3
  1891. 0000130E  2F0A                     move.l     -[A7], A2
  1892. 00001310  4EAD D96A                jsr        [A5 - 0x2696]
  1893. 00001314  3A00                     move.w     D5, D0
  1894. 00001316  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1895. 0000131A  6634                     bne        +0x36 /* 00001350 */
  1896. 0000131C  0C32 002A 3000           cmpi.b     [A2 + D3.w], 0x2A /* '*' */
  1897. 00001322  660C                     bne        +0xE /* 00001330 */
  1898. 00001324  B644                     cmp.w      D3, D4
  1899. 00001326  6E08                     bgt        +0xA /* 00001330 */
  1900. 00001328  7000                     moveq.l    D0, 0x00
  1901. 0000132A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1902. 0000132E  4E75                     rts
  1903. label00001330:
  1904. 00001330  B644                     cmp.w      D3, D4
  1905. 00001332  6F08                     ble        +0xA /* 0000133C */
  1906. 00001334  7001                     moveq.l    D0, 0x01
  1907. 00001336  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1908. 0000133A  4E75                     rts
  1909. label0000133C:
  1910. 0000133C  B644                     cmp.w      D3, D4
  1911. 0000133E  6C08                     bge        +0xA /* 00001348 */
  1912. 00001340  70FF                     moveq.l    D0, 0xFFFFFFFF
  1913. 00001342  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1914. 00001346  4E75                     rts
  1915. label00001348:
  1916. 00001348  7000                     moveq.l    D0, 0x00
  1917. 0000134A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1918. 0000134E  4E75                     rts
  1919. label00001350:
  1920. 00001350  3045                     movea.w    A0, D5
  1921. 00001352  2008                     move.l     D0, A0
  1922. 00001354  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1923. 00001358  4E75                     rts
  1924. 0000135A  2F04                     move.l     -[A7], D4
  1925. 0000135C  206F 0008                movea.l    A0, [A7 + 0x8]
  1926. 00001360  1010                     move.b     D0, [A0]
  1927. 00001362  4880                     ext.w      D0
  1928. 00001364  0C30 002A 0000           cmpi.b     [A0 + D0.w], 0x2A /* '*' */
  1929. 0000136A  662E                     bne        +0x30 /* 0000139A */
  1930. 0000136C  1818                     move.b     D4, [A0]+
  1931. 0000136E  4884                     ext.w      D4
  1932. 00001370  7400                     moveq.l    D2, 0x00
  1933. 00001372  6008                     bra        +0xA /* 0000137C */
  1934. label00001374:
  1935. 00001374  0C18 002A                cmpi.b     [A0]+, 0x2A /* '*' */
  1936. 00001378  6602                     bne        +0x4 /* 0000137C */
  1937. 0000137A  5242                     addq.w     D2, 1
  1938. label0000137C:
  1939. 0000137C  3004                     move.w     D0, D4
  1940. 0000137E  5344                     subq.w     D4, 1
  1941. 00001380  4A40                     tst.w      D0
  1942. 00001382  66F0                     bne        -0xE /* 00001374 */
  1943. 00001384  3002                     move.w     D0, D2
  1944. 00001386  48C0                     ext.l      D0
  1945. 00001388  7201                     moveq.l    D1, 0x01
  1946. 0000138A  B081                     cmp.l      D0, D1
  1947. 0000138C  6F06                     ble        +0x8 /* 00001394 */
  1948. 0000138E  7002                     moveq.l    D0, 0x02
  1949. 00001390  281F                     move.l     D4, [A7]+
  1950. 00001392  4E75                     rts
  1951. label00001394:
  1952. 00001394  7001                     moveq.l    D0, 0x01
  1953. 00001396  281F                     move.l     D4, [A7]+
  1954. 00001398  4E75                     rts
  1955. label0000139A:
  1956. 0000139A  7000                     moveq.l    D0, 0x00
  1957. 0000139C  281F                     move.l     D4, [A7]+
  1958. 0000139E  4E75                     rts
  1959. 000013A0  2B6F 0004 9E78           move.l     [A5 - 0x6188], [A7 + 0x4]
  1960. 000013A6  3B6F 0008 9E7C           move.w     [A5 - 0x6184], [A7 + 0x8]
  1961. 000013AC  4E75                     rts
  1962. 000013AE  0C2F 002A 0004           cmpi.b     [A7 + 0x4], 0x2A /* '*' */
  1963. 000013B4  6604                     bne        +0x6 /* 000013BA */
  1964. 000013B6  7001                     moveq.l    D0, 0x01
  1965. 000013B8  4E75                     rts
  1966. label000013BA:
  1967. 000013BA  7000                     moveq.l    D0, 0x00
  1968. 000013BC  4E75                     rts
  1969. fn000013BE:
  1970. 000013BE  226F 0004                movea.l    A1, [A7 + 0x4]
  1971. 000013C2  7400                     moveq.l    D2, 0x00
  1972. 000013C4  1011                     move.b     D0, [A1]
  1973. 000013C6  4880                     ext.w      D0
  1974. 000013C8  2049                     movea.l    A0, A1
  1975. 000013CA  D0C0                     add.w      A0, D0
  1976. 000013CC  4A6F 0008                tst.w      [A7 + 0x8]
  1977. 000013D0  670A                     beq        +0xC /* 000013DC */
  1978. 000013D2  0C10 002A                cmpi.b     [A0], 0x2A /* '*' */
  1979. 000013D6  6604                     bne        +0x6 /* 000013DC */
  1980. 000013D8  742A                     moveq.l    D2, 0x2A
  1981. 000013DA  5388                     subq.l     A0, 1
  1982. label000013DC:
  1983. 000013DC  0C10 0073                cmpi.b     [A0], 0x73 /* 's' */
  1984. 000013E0  662C                     bne        +0x2E /* 0000140E */
  1985. 000013E2  1011                     move.b     D0, [A1]
  1986. 000013E4  4880                     ext.w      D0
  1987. 000013E6  48C0                     ext.l      D0
  1988. 000013E8  7202                     moveq.l    D1, 0x02
  1989. 000013EA  B081                     cmp.l      D0, D1
  1990. 000013EC  6F20                     ble        +0x22 /* 0000140E */
  1991. 000013EE  0C28 0065 FFFF           cmpi.b     [A0 - 0x1], 0x65 /* 'e' */
  1992. 000013F4  6612                     bne        +0x14 /* 00001408 */
  1993. 000013F6  1011                     move.b     D0, [A1]
  1994. 000013F8  4880                     ext.w      D0
  1995. 000013FA  48C0                     ext.l      D0
  1996. 000013FC  7203                     moveq.l    D1, 0x03
  1997. 000013FE  B081                     cmp.l      D0, D1
  1998. 00001400  6F06                     ble        +0x8 /* 00001408 */
  1999. 00001402  5511                     subq.b     [A1], 2
  2000. 00001404  6000 0088                bra        +0x8A /* 0000148E */
  2001. label00001408:
  2002. 00001408  5311                     subq.b     [A1], 1
  2003. 0000140A  6000 0082                bra        +0x84 /* 0000148E */
  2004. label0000140E:
  2005. 0000140E  0C28 0065 FFFF           cmpi.b     [A0 - 0x1], 0x65 /* 'e' */
  2006. 00001414  6606                     bne        +0x8 /* 0000141C */
  2007. 00001416  0C10 0064                cmpi.b     [A0], 0x64 /* 'd' */
  2008. 0000141A  670E                     beq        +0x10 /* 0000142A */
  2009. label0000141C:
  2010. 0000141C  0C28 0069 FFFF           cmpi.b     [A0 - 0x1], 0x69 /* 'i' */
  2011. 00001422  6624                     bne        +0x26 /* 00001448 */
  2012. 00001424  0C10 0063                cmpi.b     [A0], 0x63 /* 'c' */
  2013. 00001428  661E                     bne        +0x20 /* 00001448 */
  2014. label0000142A:
  2015. 0000142A  1011                     move.b     D0, [A1]
  2016. 0000142C  4880                     ext.w      D0
  2017. 0000142E  48C0                     ext.l      D0
  2018. 00001430  7203                     moveq.l    D1, 0x03
  2019. 00001432  B081                     cmp.l      D0, D1
  2020. 00001434  6F12                     ble        +0x14 /* 00001448 */
  2021. 00001436  1028 FFFE                move.b     D0, [A0 - 0x2]
  2022. 0000143A  B028 FFFD                cmp.b      D0, [A0 - 0x3]
  2023. 0000143E  6604                     bne        +0x6 /* 00001444 */
  2024. 00001440  5711                     subq.b     [A1], 3
  2025. 00001442  604A                     bra        +0x4C /* 0000148E */
  2026. label00001444:
  2027. 00001444  5511                     subq.b     [A1], 2
  2028. 00001446  6046                     bra        +0x48 /* 0000148E */
  2029. label00001448:
  2030. 00001448  0C28 0069 FFFE           cmpi.b     [A0 - 0x2], 0x69 /* 'i' */
  2031. 0000144E  663A                     bne        +0x3C /* 0000148A */
  2032. 00001450  0C28 006E FFFF           cmpi.b     [A0 - 0x1], 0x6E /* 'n' */
  2033. 00001456  6606                     bne        +0x8 /* 0000145E */
  2034. 00001458  0C10 0067                cmpi.b     [A0], 0x67 /* 'g' */
  2035. 0000145C  670E                     beq        +0x10 /* 0000146C */
  2036. label0000145E:
  2037. 0000145E  0C28 007A FFFF           cmpi.b     [A0 - 0x1], 0x7A /* 'z' */
  2038. 00001464  6624                     bne        +0x26 /* 0000148A */
  2039. 00001466  0C10 0065                cmpi.b     [A0], 0x65 /* 'e' */
  2040. 0000146A  661E                     bne        +0x20 /* 0000148A */
  2041. label0000146C:
  2042. 0000146C  1011                     move.b     D0, [A1]
  2043. 0000146E  4880                     ext.w      D0
  2044. 00001470  48C0                     ext.l      D0
  2045. 00001472  7204                     moveq.l    D1, 0x04
  2046. 00001474  B081                     cmp.l      D0, D1
  2047. 00001476  6F12                     ble        +0x14 /* 0000148A */
  2048. 00001478  1028 FFFD                move.b     D0, [A0 - 0x3]
  2049. 0000147C  B028 FFFC                cmp.b      D0, [A0 - 0x4]
  2050. 00001480  6604                     bne        +0x6 /* 00001486 */
  2051. 00001482  5911                     subq.b     [A1], 4
  2052. 00001484  6008                     bra        +0xA /* 0000148E */
  2053. label00001486:
  2054. 00001486  5711                     subq.b     [A1], 3
  2055. 00001488  6004                     bra        +0x6 /* 0000148E */
  2056. label0000148A:
  2057. 0000148A  7000                     moveq.l    D0, 0x00
  2058. 0000148C  4E75                     rts
  2059. label0000148E:
  2060. 0000148E  4A02                     tst.b      D2
  2061. 00001490  6708                     beq        +0xA /* 0000149A */
  2062. 00001492  1011                     move.b     D0, [A1]
  2063. 00001494  4880                     ext.w      D0
  2064. 00001496  1382 0000                move.b     [A1 + D0.w], D2
  2065. label0000149A:
  2066. 0000149A  7001                     moveq.l    D0, 0x01
  2067. 0000149C  4E75                     rts
  2068. 0000149E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2069. 000014A2  4FEF FF8E                lea.l      A7, [A7 - 0x72]
  2070. 000014A6  286F 009A                movea.l    A4, [A7 + 0x9A]
  2071. 000014AA  246C 0008                movea.l    A2, [A4 + 0x8]
  2072. 000014AE  7A00                     moveq.l    D5, 0x00
  2073. 000014B0  7800                     moveq.l    D4, 0x00
  2074. 000014B2  7C00                     moveq.l    D6, 0x00
  2075. 000014B4  7E00                     moveq.l    D7, 0x00
  2076. 000014B6  7600                     moveq.l    D3, 0x00
  2077. 000014B8  4878 0006                push.l     0x6
  2078. 000014BC  42A7                     clr.l      -[A7]
  2079. 000014BE  2F2C 001A                move.l     -[A7], [A4 + 0x1A]
  2080. 000014C2  4EAD D94C                jsr        [A5 - 0x26B4]
  2081. 000014C6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2082. 000014CA  6016                     bra        +0x18 /* 000014E2 */
  2083. label000014CC:
  2084. 000014CC  7000                     moveq.l    D0, 0x00
  2085. 000014CE  1012                     move.b     D0, [A2]
  2086. 000014D0  C1FC 0006                muls.w     D0, 0x6
  2087. 000014D4  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2088. 000014D8  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  2089. 000014DE  6708                     beq        +0xA /* 000014E8 */
  2090. 000014E0  528A                     addq.l     A2, 1
  2091. label000014E2:
  2092. 000014E2  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2093. 000014E6  65E4                     bcs        -0x1A /* 000014CC */
  2094. label000014E8:
  2095. 000014E8  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2096. 000014EC  660E                     bne        +0x10 /* 000014FC */
  2097. 000014EE  426C 0018                clr.w      [A4 + 0x18]
  2098. 000014F2  296C 0008 000C           move.l     [A4 + 0xC], [A4 + 0x8]
  2099. 000014F8  6000 02B4                bra        +0x2B6 /* 000017AE */
  2100. label000014FC:
  2101. 000014FC  294A 000C                move.l     [A4 + 0xC], A2
  2102. 00001500  47EF 000C                lea.l      A3, [A7 + 0xC]
  2103. 00001504  6014                     bra        +0x16 /* 0000151A */
  2104. label00001506:
  2105. 00001506  16DA                     move.b     [A3]+, [A2]+
  2106. 00001508  41EF 000C                lea.l      A0, [A7 + 0xC]
  2107. 0000150C  224B                     movea.l    A1, A3
  2108. 0000150E  93C8                     sub.l      A1, A0
  2109. 00001510  7064                     moveq.l    D0, 0x64
  2110. 00001512  B3C0                     cmpa.l     A1, D0
  2111. 00001514  6F04                     ble        +0x6 /* 0000151A */
  2112. 00001516  7601                     moveq.l    D3, 0x01
  2113. 00001518  601A                     bra        +0x1C /* 00001534 */
  2114. label0000151A:
  2115. 0000151A  7000                     moveq.l    D0, 0x00
  2116. 0000151C  1012                     move.b     D0, [A2]
  2117. 0000151E  C1FC 0006                muls.w     D0, 0x6
  2118. 00001522  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2119. 00001526  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  2120. 0000152C  6606                     bne        +0x8 /* 00001534 */
  2121. 0000152E  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2122. 00001532  65D2                     bcs        -0x2C /* 00001506 */
  2123. label00001534:
  2124. 00001534  4213                     clr.b      [A3]
  2125. 00001536  0C12 003A                cmpi.b     [A2], 0x3A /* ':' */
  2126. 0000153A  6618                     bne        +0x1A /* 00001554 */
  2127. 0000153C  4878 000A                push.l     0xA /* '\n' */
  2128. 00001540  42A7                     clr.l      -[A7]
  2129. 00001542  486F 0014                pea.l      [A7 + 0x14]
  2130. 00001546  4EAD D940                jsr        [A5 - 0x26C0]
  2131. 0000154A  2A00                     move.l     D5, D0
  2132. 0000154C  528A                     addq.l     A2, 1
  2133. 0000154E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2134. 00001552  6042                     bra        +0x44 /* 00001596 */
  2135. label00001554:
  2136. 00001554  7000                     moveq.l    D0, 0x00
  2137. 00001556  1012                     move.b     D0, [A2]
  2138. 00001558  C1FC 0006                muls.w     D0, 0x6
  2139. 0000155C  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2140. 00001560  3030 0800                move.w     D0, [A0 + D0]
  2141. 00001564  48C0                     ext.l      D0
  2142. 00001566  2C40                     movea.l    A6, D0
  2143. 00001568  200E                     move.l     D0, A6
  2144. 0000156A  670C                     beq        +0xE /* 00001578 */
  2145. 0000156C  7007                     moveq.l    D0, 0x07
  2146. 0000156E  BDC0                     cmpa.l     A6, D0
  2147. 00001570  6706                     beq        +0x8 /* 00001578 */
  2148. 00001572  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2149. 00001576  6618                     bne        +0x1A /* 00001590 */
  2150. label00001578:
  2151. 00001578  4878 000A                push.l     0xA /* '\n' */
  2152. 0000157C  42A7                     clr.l      -[A7]
  2153. 0000157E  486F 0014                pea.l      [A7 + 0x14]
  2154. 00001582  4EAD D940                jsr        [A5 - 0x26C0]
  2155. 00001586  2A00                     move.l     D5, D0
  2156. 00001588  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2157. 0000158C  6000 01D8                bra        +0x1DA /* 00001766 */
  2158. label00001590:
  2159. 00001590  7601                     moveq.l    D3, 0x01
  2160. 00001592  6000 0214                bra        +0x216 /* 000017A8 */
  2161. label00001596:
  2162. 00001596  47EF 000C                lea.l      A3, [A7 + 0xC]
  2163. 0000159A  6014                     bra        +0x16 /* 000015B0 */
  2164. label0000159C:
  2165. 0000159C  16DA                     move.b     [A3]+, [A2]+
  2166. 0000159E  41EF 000C                lea.l      A0, [A7 + 0xC]
  2167. 000015A2  224B                     movea.l    A1, A3
  2168. 000015A4  93C8                     sub.l      A1, A0
  2169. 000015A6  7064                     moveq.l    D0, 0x64
  2170. 000015A8  B3C0                     cmpa.l     A1, D0
  2171. 000015AA  6F04                     ble        +0x6 /* 000015B0 */
  2172. 000015AC  7601                     moveq.l    D3, 0x01
  2173. 000015AE  601A                     bra        +0x1C /* 000015CA */
  2174. label000015B0:
  2175. 000015B0  7000                     moveq.l    D0, 0x00
  2176. 000015B2  1012                     move.b     D0, [A2]
  2177. 000015B4  C1FC 0006                muls.w     D0, 0x6
  2178. 000015B8  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2179. 000015BC  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  2180. 000015C2  6606                     bne        +0x8 /* 000015CA */
  2181. 000015C4  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2182. 000015C8  65D2                     bcs        -0x2C /* 0000159C */
  2183. label000015CA:
  2184. 000015CA  4213                     clr.b      [A3]
  2185. 000015CC  0C12 003A                cmpi.b     [A2], 0x3A /* ':' */
  2186. 000015D0  6618                     bne        +0x1A /* 000015EA */
  2187. 000015D2  4878 000A                push.l     0xA /* '\n' */
  2188. 000015D6  42A7                     clr.l      -[A7]
  2189. 000015D8  486F 0014                pea.l      [A7 + 0x14]
  2190. 000015DC  4EAD D940                jsr        [A5 - 0x26C0]
  2191. 000015E0  2800                     move.l     D4, D0
  2192. 000015E2  528A                     addq.l     A2, 1
  2193. 000015E4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2194. 000015E8  6046                     bra        +0x48 /* 00001630 */
  2195. label000015EA:
  2196. 000015EA  7000                     moveq.l    D0, 0x00
  2197. 000015EC  1012                     move.b     D0, [A2]
  2198. 000015EE  C1FC 0006                muls.w     D0, 0x6
  2199. 000015F2  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2200. 000015F6  3030 0800                move.w     D0, [A0 + D0]
  2201. 000015FA  48C0                     ext.l      D0
  2202. 000015FC  2F40 0008                move.l     [A7 + 0x8], D0
  2203. 00001600  4A80                     tst.l      D0
  2204. 00001602  670E                     beq        +0x10 /* 00001612 */
  2205. 00001604  7007                     moveq.l    D0, 0x07
  2206. 00001606  B0AF 0008                cmp.l      D0, [A7 + 0x8]
  2207. 0000160A  6706                     beq        +0x8 /* 00001612 */
  2208. 0000160C  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2209. 00001610  6618                     bne        +0x1A /* 0000162A */
  2210. label00001612:
  2211. 00001612  4878 000A                push.l     0xA /* '\n' */
  2212. 00001616  42A7                     clr.l      -[A7]
  2213. 00001618  486F 0014                pea.l      [A7 + 0x14]
  2214. 0000161C  4EAD D940                jsr        [A5 - 0x26C0]
  2215. 00001620  2800                     move.l     D4, D0
  2216. 00001622  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2217. 00001626  6000 013E                bra        +0x140 /* 00001766 */
  2218. label0000162A:
  2219. 0000162A  7601                     moveq.l    D3, 0x01
  2220. 0000162C  6000 017A                bra        +0x17C /* 000017A8 */
  2221. label00001630:
  2222. 00001630  47EF 000C                lea.l      A3, [A7 + 0xC]
  2223. 00001634  6014                     bra        +0x16 /* 0000164A */
  2224. label00001636:
  2225. 00001636  16DA                     move.b     [A3]+, [A2]+
  2226. 00001638  41EF 000C                lea.l      A0, [A7 + 0xC]
  2227. 0000163C  224B                     movea.l    A1, A3
  2228. 0000163E  93C8                     sub.l      A1, A0
  2229. 00001640  7064                     moveq.l    D0, 0x64
  2230. 00001642  B3C0                     cmpa.l     A1, D0
  2231. 00001644  6F04                     ble        +0x6 /* 0000164A */
  2232. 00001646  7601                     moveq.l    D3, 0x01
  2233. 00001648  601A                     bra        +0x1C /* 00001664 */
  2234. label0000164A:
  2235. 0000164A  7000                     moveq.l    D0, 0x00
  2236. 0000164C  1012                     move.b     D0, [A2]
  2237. 0000164E  C1FC 0006                muls.w     D0, 0x6
  2238. 00001652  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2239. 00001656  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  2240. 0000165C  6606                     bne        +0x8 /* 00001664 */
  2241. 0000165E  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2242. 00001662  65D2                     bcs        -0x2C /* 00001636 */
  2243. label00001664:
  2244. 00001664  4213                     clr.b      [A3]
  2245. 00001666  0C12 002E                cmpi.b     [A2], 0x2E /* '.' */
  2246. 0000166A  6618                     bne        +0x1A /* 00001684 */
  2247. 0000166C  4878 000A                push.l     0xA /* '\n' */
  2248. 00001670  42A7                     clr.l      -[A7]
  2249. 00001672  486F 0014                pea.l      [A7 + 0x14]
  2250. 00001676  4EAD D940                jsr        [A5 - 0x26C0]
  2251. 0000167A  2C00                     move.l     D6, D0
  2252. 0000167C  528A                     addq.l     A2, 1
  2253. 0000167E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2254. 00001682  6046                     bra        +0x48 /* 000016CA */
  2255. label00001684:
  2256. 00001684  7000                     moveq.l    D0, 0x00
  2257. 00001686  1012                     move.b     D0, [A2]
  2258. 00001688  C1FC 0006                muls.w     D0, 0x6
  2259. 0000168C  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2260. 00001690  3030 0800                move.w     D0, [A0 + D0]
  2261. 00001694  48C0                     ext.l      D0
  2262. 00001696  2F40 0004                move.l     [A7 + 0x4], D0
  2263. 0000169A  4A80                     tst.l      D0
  2264. 0000169C  670E                     beq        +0x10 /* 000016AC */
  2265. 0000169E  7007                     moveq.l    D0, 0x07
  2266. 000016A0  B0AF 0004                cmp.l      D0, [A7 + 0x4]
  2267. 000016A4  6706                     beq        +0x8 /* 000016AC */
  2268. 000016A6  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2269. 000016AA  6618                     bne        +0x1A /* 000016C4 */
  2270. label000016AC:
  2271. 000016AC  4878 000A                push.l     0xA /* '\n' */
  2272. 000016B0  42A7                     clr.l      -[A7]
  2273. 000016B2  486F 0014                pea.l      [A7 + 0x14]
  2274. 000016B6  4EAD D940                jsr        [A5 - 0x26C0]
  2275. 000016BA  2C00                     move.l     D6, D0
  2276. 000016BC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2277. 000016C0  6000 00A4                bra        +0xA6 /* 00001766 */
  2278. label000016C4:
  2279. 000016C4  7601                     moveq.l    D3, 0x01
  2280. 000016C6  6000 00E0                bra        +0xE2 /* 000017A8 */
  2281. label000016CA:
  2282. 000016CA  47EF 000C                lea.l      A3, [A7 + 0xC]
  2283. 000016CE  6014                     bra        +0x16 /* 000016E4 */
  2284. label000016D0:
  2285. 000016D0  16DA                     move.b     [A3]+, [A2]+
  2286. 000016D2  41EF 000C                lea.l      A0, [A7 + 0xC]
  2287. 000016D6  224B                     movea.l    A1, A3
  2288. 000016D8  93C8                     sub.l      A1, A0
  2289. 000016DA  7064                     moveq.l    D0, 0x64
  2290. 000016DC  B3C0                     cmpa.l     A1, D0
  2291. 000016DE  6F04                     ble        +0x6 /* 000016E4 */
  2292. 000016E0  7601                     moveq.l    D3, 0x01
  2293. 000016E2  601A                     bra        +0x1C /* 000016FE */
  2294. label000016E4:
  2295. 000016E4  7000                     moveq.l    D0, 0x00
  2296. 000016E6  1012                     move.b     D0, [A2]
  2297. 000016E8  C1FC 0006                muls.w     D0, 0x6
  2298. 000016EC  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2299. 000016F0  0C70 0003 0800           cmpi.w     [A0 + D0], 0x3
  2300. 000016F6  6606                     bne        +0x8 /* 000016FE */
  2301. 000016F8  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2302. 000016FC  65D2                     bcs        -0x2C /* 000016D0 */
  2303. label000016FE:
  2304. 000016FE  4213                     clr.b      [A3]
  2305. 00001700  7000                     moveq.l    D0, 0x00
  2306. 00001702  1012                     move.b     D0, [A2]
  2307. 00001704  206D 1B8C                movea.l    A0, [A5 + 0x1B8C]
  2308. 00001708  1030 0000                move.b     D0, [A0 + D0.w]
  2309. 0000170C  7244                     moveq.l    D1, 0x44
  2310. 0000170E  C081                     and.l      D0, D1
  2311. 00001710  6716                     beq        +0x18 /* 00001728 */
  2312. 00001712  4878 000A                push.l     0xA /* '\n' */
  2313. 00001716  42A7                     clr.l      -[A7]
  2314. 00001718  486F 0014                pea.l      [A7 + 0x14]
  2315. 0000171C  4EAD D940                jsr        [A5 - 0x26C0]
  2316. 00001720  2E00                     move.l     D7, D0
  2317. 00001722  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2318. 00001726  603E                     bra        +0x40 /* 00001766 */
  2319. label00001728:
  2320. 00001728  7000                     moveq.l    D0, 0x00
  2321. 0000172A  1012                     move.b     D0, [A2]
  2322. 0000172C  C1FC 0006                muls.w     D0, 0x6
  2323. 00001730  206D 9E7E                movea.l    A0, [A5 - 0x6182]
  2324. 00001734  3030 0800                move.w     D0, [A0 + D0]
  2325. 00001738  48C0                     ext.l      D0
  2326. 0000173A  2E80                     move.l     [A7], D0
  2327. 0000173C  4A80                     tst.l      D0
  2328. 0000173E  670C                     beq        +0xE /* 0000174C */
  2329. 00001740  7007                     moveq.l    D0, 0x07
  2330. 00001742  B097                     cmp.l      D0, [A7]
  2331. 00001744  6706                     beq        +0x8 /* 0000174C */
  2332. 00001746  B5EC 0004                cmpa.l     A2, [A4 + 0x4]
  2333. 0000174A  6616                     bne        +0x18 /* 00001762 */
  2334. label0000174C:
  2335. 0000174C  4878 000A                push.l     0xA /* '\n' */
  2336. 00001750  42A7                     clr.l      -[A7]
  2337. 00001752  486F 0014                pea.l      [A7 + 0x14]
  2338. 00001756  4EAD D940                jsr        [A5 - 0x26C0]
  2339. 0000175A  2E00                     move.l     D7, D0
  2340. 0000175C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2341. 00001760  6004                     bra        +0x6 /* 00001766 */
  2342. label00001762:
  2343. 00001762  7601                     moveq.l    D3, 0x01
  2344. 00001764  6042                     bra        +0x44 /* 000017A8 */
  2345. label00001766:
  2346. 00001766  266C 001A                movea.l    A3, [A4 + 0x1A]
  2347. 0000176A  70F8                     moveq.l    D0, 0xFFFFFFF8
  2348. 0000176C  2205                     move.l     D1, D5
  2349. 0000176E  E789                     lsl        D1, 3
  2350. 00001770  C280                     and.l      D1, D0
  2351. 00001772  2681                     move.l     [A3], D1
  2352. 00001774  266C 001A                movea.l    A3, [A4 + 0x1A]
  2353. 00001778  2C4B                     movea.l    A6, A3
  2354. 0000177A  588E                     addq.l     A6, 4
  2355. 0000177C  7038                     moveq.l    D0, 0x38
  2356. 0000177E  C084                     and.l      D0, D4
  2357. 00001780  E688                     lsr        D0, 3
  2358. 00001782  8193                     or.l       [A3], D0
  2359. 00001784  7007                     moveq.l    D0, 0x07
  2360. 00001786  C084                     and.l      D0, D4
  2361. 00001788  720D                     moveq.l    D1, 0x0D
  2362. 0000178A  E3A8                     lsl        D0, D1
  2363. 0000178C  3C80                     move.w     [A6], D0
  2364. 0000178E  266C 001A                movea.l    A3, [A4 + 0x1A]
  2365. 00001792  588B                     addq.l     A3, 4
  2366. 00001794  703F                     moveq.l    D0, 0x3F
  2367. 00001796  C086                     and.l      D0, D6
  2368. 00001798  EF88                     lsl        D0, 7
  2369. 0000179A  8153                     or.w       [A3], D0
  2370. 0000179C  266C 001A                movea.l    A3, [A4 + 0x1A]
  2371. 000017A0  588B                     addq.l     A3, 4
  2372. 000017A2  707F                     moveq.l    D0, 0x7F
  2373. 000017A4  C087                     and.l      D0, D7
  2374. 000017A6  8153                     or.w       [A3], D0
  2375. label000017A8:
  2376. 000017A8  397C 0006 0018           move.w     [A4 + 0x18], 0x6
  2377. label000017AE:
  2378. 000017AE  294A 0014                move.l     [A4 + 0x14], A2
  2379. 000017B2  3943 0012                move.w     [A4 + 0x12], D3
  2380. 000017B6  3003                     move.w     D0, D3
  2381. 000017B8  4FEF 0072                lea.l      A7, [A7 + 0x72]
  2382. 000017BC  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2383. 000017C0  4E75                     rts
  2384. 000017C2  2F03                     move.l     -[A7], D3
  2385. 000017C4  206F 0008                movea.l    A0, [A7 + 0x8]
  2386. 000017C8  226F 000C                movea.l    A1, [A7 + 0xC]
  2387. 000017CC  70F8                     moveq.l    D0, 0xFFFFFFF8
  2388. 000017CE  C091                     and.l      D0, [A1]
  2389. 000017D0  E688                     lsr        D0, 3
  2390. 000017D2  76F8                     moveq.l    D3, 0xFFFFFFF8
  2391. 000017D4  C690                     and.l      D3, [A0]
  2392. 000017D6  E68B                     lsr        D3, 3
  2393. 000017D8  9680                     sub.l      D3, D0
  2394. 000017DA  4A83                     tst.l      D3
  2395. 000017DC  6C06                     bge        +0x8 /* 000017E4 */
  2396. 000017DE  70FF                     moveq.l    D0, 0xFFFFFFFF
  2397. 000017E0  261F                     move.l     D3, [A7]+
  2398. 000017E2  4E75                     rts
  2399. label000017E4:
  2400. 000017E4  4A83                     tst.l      D3
  2401. 000017E6  6F06                     ble        +0x8 /* 000017EE */
  2402. 000017E8  7001                     moveq.l    D0, 0x01
  2403. 000017EA  261F                     move.l     D3, [A7]+
  2404. 000017EC  4E75                     rts
  2405. label000017EE:
  2406. 000017EE  3029 0004                move.w     D0, [A1 + 0x4]
  2407. 000017F2  0280 0000 E000           andi.l     D0, 0xE000
  2408. 000017F8  720D                     moveq.l    D1, 0x0D
  2409. 000017FA  E2A0                     asr        D0, D1
  2410. 000017FC  7207                     moveq.l    D1, 0x07
  2411. 000017FE  C291                     and.l      D1, [A1]
  2412. 00001800  E789                     lsl        D1, 3
  2413. 00001802  8280                     or.l       D1, D0
  2414. 00001804  3028 0004                move.w     D0, [A0 + 0x4]
  2415. 00001808  0280 0000 E000           andi.l     D0, 0xE000
  2416. 0000180E  760D                     moveq.l    D3, 0x0D
  2417. 00001810  E6A0                     asr        D0, D3
  2418. 00001812  7607                     moveq.l    D3, 0x07
  2419. 00001814  C690                     and.l      D3, [A0]
  2420. 00001816  E78B                     lsl        D3, 3
  2421. 00001818  8680                     or.l       D3, D0
  2422. 0000181A  9681                     sub.l      D3, D1
  2423. 0000181C  4A83                     tst.l      D3
  2424. 0000181E  6C06                     bge        +0x8 /* 00001826 */
  2425. 00001820  70FF                     moveq.l    D0, 0xFFFFFFFF
  2426. 00001822  261F                     move.l     D3, [A7]+
  2427. 00001824  4E75                     rts
  2428. label00001826:
  2429. 00001826  4A83                     tst.l      D3
  2430. 00001828  6F06                     ble        +0x8 /* 00001830 */
  2431. 0000182A  7001                     moveq.l    D0, 0x01
  2432. 0000182C  261F                     move.l     D3, [A7]+
  2433. 0000182E  4E75                     rts
  2434. label00001830:
  2435. 00001830  3029 0004                move.w     D0, [A1 + 0x4]
  2436. 00001834  0280 0000 1F80           andi.l     D0, 0x1F80
  2437. 0000183A  EE80                     asr        D0, 7
  2438. 0000183C  3628 0004                move.w     D3, [A0 + 0x4]
  2439. 00001840  0283 0000 1F80           andi.l     D3, 0x1F80
  2440. 00001846  EE83                     asr        D3, 7
  2441. 00001848  9680                     sub.l      D3, D0
  2442. 0000184A  4A83                     tst.l      D3
  2443. 0000184C  6C06                     bge        +0x8 /* 00001854 */
  2444. 0000184E  70FF                     moveq.l    D0, 0xFFFFFFFF
  2445. 00001850  261F                     move.l     D3, [A7]+
  2446. 00001852  4E75                     rts
  2447. label00001854:
  2448. 00001854  4A83                     tst.l      D3
  2449. 00001856  6F06                     ble        +0x8 /* 0000185E */
  2450. 00001858  7001                     moveq.l    D0, 0x01
  2451. 0000185A  261F                     move.l     D3, [A7]+
  2452. 0000185C  4E75                     rts
  2453. label0000185E:
  2454. 0000185E  3029 0004                move.w     D0, [A1 + 0x4]
  2455. 00001862  767F                     moveq.l    D3, 0x7F
  2456. 00001864  C083                     and.l      D0, D3
  2457. 00001866  3628 0004                move.w     D3, [A0 + 0x4]
  2458. 0000186A  747F                     moveq.l    D2, 0x7F
  2459. 0000186C  C682                     and.l      D3, D2
  2460. 0000186E  9680                     sub.l      D3, D0
  2461. 00001870  4A83                     tst.l      D3
  2462. 00001872  6C06                     bge        +0x8 /* 0000187A */
  2463. 00001874  70FF                     moveq.l    D0, 0xFFFFFFFF
  2464. 00001876  261F                     move.l     D3, [A7]+
  2465. 00001878  4E75                     rts
  2466. label0000187A:
  2467. 0000187A  4A83                     tst.l      D3
  2468. 0000187C  6F06                     ble        +0x8 /* 00001884 */
  2469. 0000187E  7001                     moveq.l    D0, 0x01
  2470. 00001880  261F                     move.l     D3, [A7]+
  2471. 00001882  4E75                     rts
  2472. label00001884:
  2473. 00001884  7000                     moveq.l    D0, 0x00
  2474. 00001886  261F                     move.l     D3, [A7]+
  2475. 00001888  4E75                     rts
  2476. 0000188A  2B6F 0004 9E7E           move.l     [A5 - 0x6182], [A7 + 0x4]
  2477. 00001890  3B6F 0008 9E82           move.w     [A5 - 0x617E], [A7 + 0x8]
  2478. 00001896  4E75                     rts
  2479. 00001898  48E7 063A                movem.l    -[A7], D5,D6,A2,A3,A4,A6
  2480. 0000189C  222F 001C                move.l     D1, [A7 + 0x1C]
  2481. 000018A0  2041                     movea.l    A0, D1
  2482. 000018A2  2C68 0008                movea.l    A6, [A0 + 0x8]
  2483. 000018A6  244E                     movea.l    A2, A6
  2484. 000018A8  2668 001A                movea.l    A3, [A0 + 0x1A]
  2485. 000018AC  2868 0004                movea.l    A4, [A0 + 0x4]
  2486. 000018B0  2241                     movea.l    A1, D1
  2487. 000018B2  2368 0008 0014           move.l     [A1 + 0x14], [A0 + 0x8]
  2488. 000018B8  4268 0012                clr.w      [A0 + 0x12]
  2489. 000018BC  602C                     bra        +0x2E /* 000018EA */
  2490. label000018BE:
  2491. 000018BE  7A00                     moveq.l    D5, 0x00
  2492. 000018C0  1A12                     move.b     D5, [A2]
  2493. 000018C2  CBFC 0006                muls.w     D5, 0x6
  2494. 000018C6  206D 9E84                movea.l    A0, [A5 - 0x617C]
  2495. 000018CA  3A30 5800                move.w     D5, [A0 + D5]
  2496. 000018CE  48C5                     ext.l      D5
  2497. 000018D0  7001                     moveq.l    D0, 0x01
  2498. 000018D2  BA80                     cmp.l      D5, D0
  2499. 000018D4  6718                     beq        +0x1A /* 000018EE */
  2500. 000018D6  7002                     moveq.l    D0, 0x02
  2501. 000018D8  BA80                     cmp.l      D5, D0
  2502. 000018DA  6712                     beq        +0x14 /* 000018EE */
  2503. 000018DC  7003                     moveq.l    D0, 0x03
  2504. 000018DE  BA80                     cmp.l      D5, D0
  2505. 000018E0  670C                     beq        +0xE /* 000018EE */
  2506. 000018E2  7010                     moveq.l    D0, 0x10
  2507. 000018E4  BA80                     cmp.l      D5, D0
  2508. 000018E6  6706                     beq        +0x8 /* 000018EE */
  2509. 000018E8  528A                     addq.l     A2, 1
  2510. label000018EA:
  2511. 000018EA  B5CC                     cmpa.l     A2, A4
  2512. 000018EC  65D0                     bcs        -0x2E /* 000018BE */
  2513. label000018EE:
  2514. 000018EE  2041                     movea.l    A0, D1
  2515. 000018F0  B5E8 0004                cmpa.l     A2, [A0 + 0x4]
  2516. 000018F4  6610                     bne        +0x12 /* 00001906 */
  2517. 000018F6  4268 0018                clr.w      [A0 + 0x18]
  2518. 000018FA  2241                     movea.l    A1, D1
  2519. 000018FC  2368 0008 000C           move.l     [A1 + 0xC], [A0 + 0x8]
  2520. 00001902  6000 0126                bra        +0x128 /* 00001A2A */
  2521. label00001906:
  2522. 00001906  421B                     clr.b      [A3]+
  2523. 00001908  B5CC                     cmpa.l     A2, A4
  2524. 0000190A  6400 00AE                bcc        +0xB0 /* 000019BA */
  2525. 0000190E  214A 000C                move.l     [A0 + 0xC], A2
  2526. 00001912  6000 0096                bra        +0x98 /* 000019AA */
  2527. label00001916:
  2528. 00001916  7C00                     moveq.l    D6, 0x00
  2529. 00001918  1C12                     move.b     D6, [A2]
  2530. 0000191A  CDFC 0006                muls.w     D6, 0x6
  2531. 0000191E  206D 9E84                movea.l    A0, [A5 - 0x617C]
  2532. 00001922  3C30 6800                move.w     D6, [A0 + D6]
  2533. 00001926  48C6                     ext.l      D6
  2534. 00001928  7001                     moveq.l    D0, 0x01
  2535. 0000192A  BC80                     cmp.l      D6, D0
  2536. 0000192C  6706                     beq        +0x8 /* 00001934 */
  2537. 0000192E  7003                     moveq.l    D0, 0x03
  2538. 00001930  BC80                     cmp.l      D6, D0
  2539. 00001932  6604                     bne        +0x6 /* 00001938 */
  2540. label00001934:
  2541. 00001934  16D2                     move.b     [A3]+, [A2]
  2542. 00001936  6070                     bra        +0x72 /* 000019A8 */
  2543. label00001938:
  2544. 00001938  7002                     moveq.l    D0, 0x02
  2545. 0000193A  BC80                     cmp.l      D6, D0
  2546. 0000193C  6610                     bne        +0x12 /* 0000194E */
  2547. 0000193E  7000                     moveq.l    D0, 0x00
  2548. 00001940  1012                     move.b     D0, [A2]
  2549. 00001942  C1FC 0006                muls.w     D0, 0x6
  2550. 00001946  3030 0802                move.w     D0, [A0 + D0 + 0x2]
  2551. 0000194A  16C0                     move.b     [A3]+, D0
  2552. 0000194C  605A                     bra        +0x5C /* 000019A8 */
  2553. label0000194E:
  2554. 0000194E  7000                     moveq.l    D0, 0x00
  2555. 00001950  1012                     move.b     D0, [A2]
  2556. 00001952  C1FC 0006                muls.w     D0, 0x6
  2557. 00001956  0C70 0010 0800           cmpi.w     [A0 + D0], 0x10
  2558. 0000195C  6622                     bne        +0x24 /* 00001980 */
  2559. 0000195E  7000                     moveq.l    D0, 0x00
  2560. 00001960  1012                     move.b     D0, [A2]
  2561. 00001962  C1FC 0006                muls.w     D0, 0x6
  2562. 00001966  3030 0802                move.w     D0, [A0 + D0 + 0x2]
  2563. 0000196A  16C0                     move.b     [A3]+, D0
  2564. 0000196C  7000                     moveq.l    D0, 0x00
  2565. 0000196E  1012                     move.b     D0, [A2]
  2566. 00001970  C1FC 0006                muls.w     D0, 0x6
  2567. 00001974  206D 9E84                movea.l    A0, [A5 - 0x617C]
  2568. 00001978  3030 0804                move.w     D0, [A0 + D0 + 0x4]
  2569. 0000197C  16C0                     move.b     [A3]+, D0
  2570. 0000197E  6028                     bra        +0x2A /* 000019A8 */
  2571. label00001980:
  2572. 00001980  7000                     moveq.l    D0, 0x00
  2573. 00001982  1012                     move.b     D0, [A2]
  2574. 00001984  C1FC 0006                muls.w     D0, 0x6
  2575. 00001988  0C70 0006 0800           cmpi.w     [A0 + D0], 0x6
  2576. 0000198E  6606                     bne        +0x8 /* 00001996 */
  2577. 00001990  16FC 0020                move.b     [A3]+, 0x20 /* ' ' */
  2578. 00001994  6012                     bra        +0x14 /* 000019A8 */
  2579. label00001996:
  2580. 00001996  0C12 002A                cmpi.b     [A2], 0x2A /* '*' */
  2581. 0000199A  661E                     bne        +0x20 /* 000019BA */
  2582. 0000199C  2041                     movea.l    A0, D1
  2583. 0000199E  4A68 0010                tst.w      [A0 + 0x10]
  2584. 000019A2  6716                     beq        +0x18 /* 000019BA */
  2585. 000019A4  16DA                     move.b     [A3]+, [A2]+
  2586. 000019A6  6012                     bra        +0x14 /* 000019BA */
  2587. label000019A8:
  2588. 000019A8  528A                     addq.l     A2, 1
  2589. label000019AA:
  2590. 000019AA  B5CC                     cmpa.l     A2, A4
  2591. 000019AC  640C                     bcc        +0xE /* 000019BA */
  2592. 000019AE  204A                     movea.l    A0, A2
  2593. 000019B0  91CE                     sub.l      A0, A6
  2594. 000019B2  B0FC 00FA                cmpa.w     A0, 0xFA
  2595. 000019B6  6F00 FF5E                ble        -0xA0 /* 00001916 */
  2596. label000019BA:
  2597. 000019BA  204A                     movea.l    A0, A2
  2598. 000019BC  91CE                     sub.l      A0, A6
  2599. 000019BE  B0FC 00FA                cmpa.w     A0, 0xFA
  2600. 000019C2  6D3C                     blt        +0x3E /* 00001A00 */
  2601. 000019C4  2C4A                     movea.l    A6, A2
  2602. 000019C6  6032                     bra        +0x34 /* 000019FA */
  2603. label000019C8:
  2604. 000019C8  7400                     moveq.l    D2, 0x00
  2605. 000019CA  1412                     move.b     D2, [A2]
  2606. 000019CC  C5FC 0006                muls.w     D2, 0x6
  2607. 000019D0  206D 9E84                movea.l    A0, [A5 - 0x617C]
  2608. 000019D4  3430 2800                move.w     D2, [A0 + D2]
  2609. 000019D8  48C2                     ext.l      D2
  2610. 000019DA  7001                     moveq.l    D0, 0x01
  2611. 000019DC  B480                     cmp.l      D2, D0
  2612. 000019DE  6718                     beq        +0x1A /* 000019F8 */
  2613. 000019E0  7003                     moveq.l    D0, 0x03
  2614. 000019E2  B480                     cmp.l      D2, D0
  2615. 000019E4  6712                     beq        +0x14 /* 000019F8 */
  2616. 000019E6  7002                     moveq.l    D0, 0x02
  2617. 000019E8  B480                     cmp.l      D2, D0
  2618. 000019EA  670C                     beq        +0xE /* 000019F8 */
  2619. 000019EC  7010                     moveq.l    D0, 0x10
  2620. 000019EE  B480                     cmp.l      D2, D0
  2621. 000019F0  6706                     beq        +0x8 /* 000019F8 */
  2622. 000019F2  7006                     moveq.l    D0, 0x06
  2623. 000019F4  B480                     cmp.l      D2, D0
  2624. 000019F6  6606                     bne        +0x8 /* 000019FE */
  2625. label000019F8:
  2626. 000019F8  528A                     addq.l     A2, 1
  2627. label000019FA:
  2628. 000019FA  B5CC                     cmpa.l     A2, A4
  2629. 000019FC  65CA                     bcs        -0x34 /* 000019C8 */
  2630. label000019FE:
  2631. 000019FE  244E                     movea.l    A2, A6
  2632. label00001A00:
  2633. 00001A00  2041                     movea.l    A0, D1
  2634. 00001A02  224B                     movea.l    A1, A3
  2635. 00001A04  93E8 001A                sub.l      A1, [A0 + 0x1A]
  2636. 00001A08  2009                     move.l     D0, A1
  2637. 00001A0A  3140 0018                move.w     [A0 + 0x18], D0
  2638. 00001A0E  0C68 0001 0018           cmpi.w     [A0 + 0x18], 0x1
  2639. 00001A14  6606                     bne        +0x8 /* 00001A1C */
  2640. 00001A16  4268 0018                clr.w      [A0 + 0x18]
  2641. 00001A1A  600E                     bra        +0x10 /* 00001A2A */
  2642. label00001A1C:
  2643. 00001A1C  3028 0018                move.w     D0, [A0 + 0x18]
  2644. 00001A20  48C0                     ext.l      D0
  2645. 00001A22  5380                     subq.l     D0, 1
  2646. 00001A24  2068 001A                movea.l    A0, [A0 + 0x1A]
  2647. 00001A28  1080                     move.b     [A0], D0
  2648. label00001A2A:
  2649. 00001A2A  2041                     movea.l    A0, D1
  2650. 00001A2C  214A 0014                move.l     [A0 + 0x14], A2
  2651. 00001A30  3028 0012                move.w     D0, [A0 + 0x12]
  2652. 00001A34  4CDF 5C60                movem.l    D5,D6,A2,A3,A4,A6, [A7]+
  2653. 00001A38  4E75                     rts
  2654. 00001A3A  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  2655. 00001A3E  246F 0018                movea.l    A2, [A7 + 0x18]
  2656. 00001A42  266F 001C                movea.l    A3, [A7 + 0x1C]
  2657. 00001A46  7600                     moveq.l    D3, 0x00
  2658. 00001A48  1612                     move.b     D3, [A2]
  2659. 00001A4A  7800                     moveq.l    D4, 0x00
  2660. 00001A4C  1813                     move.b     D4, [A3]
  2661. 00001A4E  528A                     addq.l     A2, 1
  2662. 00001A50  528B                     addq.l     A3, 1
  2663. 00001A52  0C32 002A 30FF           cmpi.b     [A2 + D3.w - 0x1], 0x2A /* '*' */
  2664. 00001A58  6602                     bne        +0x4 /* 00001A5C */
  2665. 00001A5A  5343                     subq.w     D3, 1
  2666. label00001A5C:
  2667. 00001A5C  B843                     cmp.w      D4, D3
  2668. 00001A5E  6D04                     blt        +0x6 /* 00001A64 */
  2669. 00001A60  3003                     move.w     D0, D3
  2670. 00001A62  6002                     bra        +0x4 /* 00001A66 */
  2671. label00001A64:
  2672. 00001A64  3004                     move.w     D0, D4
  2673. label00001A66:
  2674. 00001A66  48C0                     ext.l      D0
  2675. 00001A68  2F00                     move.l     -[A7], D0
  2676. 00001A6A  2F0B                     move.l     -[A7], A3
  2677. 00001A6C  2F0A                     move.l     -[A7], A2
  2678. 00001A6E  4EAD D96A                jsr        [A5 - 0x2696]
  2679. 00001A72  3A00                     move.w     D5, D0
  2680. 00001A74  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2681. 00001A78  6634                     bne        +0x36 /* 00001AAE */
  2682. 00001A7A  0C32 002A 3000           cmpi.b     [A2 + D3.w], 0x2A /* '*' */
  2683. 00001A80  660C                     bne        +0xE /* 00001A8E */
  2684. 00001A82  B644                     cmp.w      D3, D4
  2685. 00001A84  6E08                     bgt        +0xA /* 00001A8E */
  2686. 00001A86  7000                     moveq.l    D0, 0x00
  2687. 00001A88  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2688. 00001A8C  4E75                     rts
  2689. label00001A8E:
  2690. 00001A8E  B644                     cmp.w      D3, D4
  2691. 00001A90  6F08                     ble        +0xA /* 00001A9A */
  2692. 00001A92  7001                     moveq.l    D0, 0x01
  2693. 00001A94  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2694. 00001A98  4E75                     rts
  2695. label00001A9A:
  2696. 00001A9A  B644                     cmp.w      D3, D4
  2697. 00001A9C  6C08                     bge        +0xA /* 00001AA6 */
  2698. 00001A9E  70FF                     moveq.l    D0, 0xFFFFFFFF
  2699. 00001AA0  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2700. 00001AA4  4E75                     rts
  2701. label00001AA6:
  2702. 00001AA6  7000                     moveq.l    D0, 0x00
  2703. 00001AA8  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2704. 00001AAC  4E75                     rts
  2705. label00001AAE:
  2706. 00001AAE  3045                     movea.w    A0, D5
  2707. 00001AB0  2008                     move.l     D0, A0
  2708. 00001AB2  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2709. 00001AB6  4E75                     rts
  2710. 00001AB8  2F04                     move.l     -[A7], D4
  2711. 00001ABA  206F 0008                movea.l    A0, [A7 + 0x8]
  2712. 00001ABE  1010                     move.b     D0, [A0]
  2713. 00001AC0  4880                     ext.w      D0
  2714. 00001AC2  0C30 002A 0000           cmpi.b     [A0 + D0.w], 0x2A /* '*' */
  2715. 00001AC8  662E                     bne        +0x30 /* 00001AF8 */
  2716. 00001ACA  1818                     move.b     D4, [A0]+
  2717. 00001ACC  4884                     ext.w      D4
  2718. 00001ACE  7400                     moveq.l    D2, 0x00
  2719. 00001AD0  6008                     bra        +0xA /* 00001ADA */
  2720. label00001AD2:
  2721. 00001AD2  0C18 002A                cmpi.b     [A0]+, 0x2A /* '*' */
  2722. 00001AD6  6602                     bne        +0x4 /* 00001ADA */
  2723. 00001AD8  5242                     addq.w     D2, 1
  2724. label00001ADA:
  2725. 00001ADA  3004                     move.w     D0, D4
  2726. 00001ADC  5344                     subq.w     D4, 1
  2727. 00001ADE  4A40                     tst.w      D0
  2728. 00001AE0  66F0                     bne        -0xE /* 00001AD2 */
  2729. 00001AE2  3002                     move.w     D0, D2
  2730. 00001AE4  48C0                     ext.l      D0
  2731. 00001AE6  7201                     moveq.l    D1, 0x01
  2732. 00001AE8  B081                     cmp.l      D0, D1
  2733. 00001AEA  6F06                     ble        +0x8 /* 00001AF2 */
  2734. 00001AEC  7002                     moveq.l    D0, 0x02
  2735. 00001AEE  281F                     move.l     D4, [A7]+
  2736. 00001AF0  4E75                     rts
  2737. label00001AF2:
  2738. 00001AF2  7001                     moveq.l    D0, 0x01
  2739. 00001AF4  281F                     move.l     D4, [A7]+
  2740. 00001AF6  4E75                     rts
  2741. label00001AF8:
  2742. 00001AF8  7000                     moveq.l    D0, 0x00
  2743. 00001AFA  281F                     move.l     D4, [A7]+
  2744. 00001AFC  4E75                     rts
  2745. 00001AFE  2B6F 0004 9E84           move.l     [A5 - 0x617C], [A7 + 0x4]
  2746. 00001B04  3B6F 0008 9E88           move.w     [A5 - 0x6178], [A7 + 0x8]
  2747. 00001B0A  4E75                     rts
  2748. 00001B0C  0C2F 002A 0004           cmpi.b     [A7 + 0x4], 0x2A /* '*' */
  2749. 00001B12  6604                     bne        +0x6 /* 00001B18 */
  2750. 00001B14  7001                     moveq.l    D0, 0x01
  2751. 00001B16  4E75                     rts
  2752. label00001B18:
  2753. 00001B18  7000                     moveq.l    D0, 0x00
  2754. 00001B1A  4E75                     rts
  2755. fn00001B1C:
  2756. 00001B1C  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  2757. 00001B20  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  2758. 00001B24  266F 0020                movea.l    A3, [A7 + 0x20]
  2759. 00001B28  286F 0024                movea.l    A4, [A7 + 0x24]
  2760. 00001B2C  246F 0028                movea.l    A2, [A7 + 0x28]
  2761. 00001B30  7600                     moveq.l    D3, 0x00
  2762. 00001B32  602A                     bra        +0x2C /* 00001B5E */
  2763. label00001B34:
  2764. 00001B34  206F 0008                movea.l    A0, [A7 + 0x8]
  2765. 00001B38  4868 0008                pea.l      [A0 + 0x8]
  2766. 00001B3C  2F0B                     move.l     -[A7], A3
  2767. 00001B3E  4EAD DE70                jsr        [A5 - 0x2190]
  2768. 00001B42  4A80                     tst.l      D0
  2769. 00001B44  504F                     addq.w     A7, 8
  2770. 00001B46  6716                     beq        +0x18 /* 00001B5E */
  2771. 00001B48  206F 0008                movea.l    A0, [A7 + 0x8]
  2772. 00001B4C  52A8 0052                addq.l     [A0 + 0x52], 1
  2773. 00001B50  206F 0008                movea.l    A0, [A7 + 0x8]
  2774. 00001B54  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2775. 00001B58  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2776. 00001B5C  4E75                     rts
  2777. label00001B5E:
  2778. 00001B5E  2003                     move.l     D0, D3
  2779. 00001B60  5283                     addq.l     D3, 1
  2780. 00001B62  2F00                     move.l     -[A7], D0
  2781. 00001B64  486D 9E8A                pea.l      [A5 - 0x6176]
  2782. 00001B68  4EBA 02B2                jsr        [PC + 0x2B2 /* 00001E1C */]
  2783. 00001B6C  2F48 0010                move.l     [A7 + 0x10], A0
  2784. 00001B70  2008                     move.l     D0, A0
  2785. 00001B72  504F                     addq.w     A7, 8
  2786. 00001B74  66BE                     bne        -0x40 /* 00001B34 */
  2787. 00001B76  705C                     moveq.l    D0, 0x5C
  2788. 00001B78  A31E                     syscall    NewPtrClear, flags=3
  2789. 00001B7A  2008                     move.l     D0, A0
  2790. 00001B7C  6716                     beq        +0x18 /* 00001B94 */
  2791. 00001B7E  2E80                     move.l     [A7], D0
  2792. 00001B80  2F48 0004                move.l     [A7 + 0x4], A0
  2793. 00001B84  2F0A                     move.l     -[A7], A2
  2794. 00001B86  2F0C                     move.l     -[A7], A4
  2795. 00001B88  2F0B                     move.l     -[A7], A3
  2796. 00001B8A  4850                     pea.l      [A0]
  2797. 00001B8C  4EBA 00C8                jsr        [PC + 0xC8 /* 00001C56 */]
  2798. 00001B90  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2799. label00001B94:
  2800. 00001B94  2F48 0008                move.l     [A7 + 0x8], A0
  2801. 00001B98  4AAF 0008                tst.l      [A7 + 0x8]
  2802. 00001B9C  660C                     bne        +0xE /* 00001BAA */
  2803. 00001B9E  91C8                     sub.l      A0, A0
  2804. 00001BA0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2805. 00001BA4  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2806. 00001BA8  4E75                     rts
  2807. label00001BAA:
  2808. 00001BAA  4A52                     tst.w      [A2]
  2809. 00001BAC  6614                     bne        +0x16 /* 00001BC2 */
  2810. 00001BAE  486F 0008                pea.l      [A7 + 0x8]
  2811. 00001BB2  486D 9E8A                pea.l      [A5 - 0x6176]
  2812. 00001BB6  4EBA 01A8                jsr        [PC + 0x1A8 /* 00001D60 */]
  2813. 00001BBA  302D 9E92                move.w     D0, [A5 - 0x616E]
  2814. 00001BBE  3480                     move.w     [A2], D0
  2815. 00001BC0  504F                     addq.w     A7, 8
  2816. label00001BC2:
  2817. 00001BC2  4A52                     tst.w      [A2]
  2818. 00001BC4  6718                     beq        +0x1A /* 00001BDE */
  2819. 00001BC6  3F3C 0001                move.w     -[A7], 0x1
  2820. 00001BCA  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  2821. 00001BCE  4EBA 0132                jsr        [PC + 0x132 /* 00001D02 */]
  2822. 00001BD2  91C8                     sub.l      A0, A0
  2823. 00001BD4  4FEF 0012                lea.l      A7, [A7 + 0x12]
  2824. 00001BD8  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2825. 00001BDC  4E75                     rts
  2826. label00001BDE:
  2827. 00001BDE  206F 0008                movea.l    A0, [A7 + 0x8]
  2828. 00001BE2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2829. 00001BE6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2830. 00001BEA  4E75                     rts
  2831. fn00001BEC:
  2832. 00001BEC  594F                     subq.w     A7, 4
  2833. 00001BEE  2EAF 0008                move.l     [A7], [A7 + 0x8]
  2834. 00001BF2  2057                     movea.l    A0, [A7]
  2835. 00001BF4  53A8 0052                subq.l     [A0 + 0x52], 1
  2836. 00001BF8  661A                     bne        +0x1C /* 00001C14 */
  2837. 00001BFA  4857                     pea.l      [A7]
  2838. 00001BFC  486D 9E8A                pea.l      [A5 - 0x6176]
  2839. 00001C00  4EBA 019C                jsr        [PC + 0x19C /* 00001D9E */]
  2840. 00001C04  3F3C 0001                move.w     -[A7], 0x1
  2841. 00001C08  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  2842. 00001C0C  4EBA 00F4                jsr        [PC + 0xF4 /* 00001D02 */]
  2843. 00001C10  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2844. label00001C14:
  2845. 00001C14  584F                     addq.w     A7, 4
  2846. 00001C16  4E75                     rts
  2847. fn00001C18:
  2848. 00001C18  4AAF 0004                tst.l      [A7 + 0x4]
  2849. 00001C1C  6710                     beq        +0x12 /* 00001C2E */
  2850. 00001C1E  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2851. 00001C22  486D 9E8A                pea.l      [A5 - 0x6176]
  2852. 00001C26  4EBA 0254                jsr        [PC + 0x254 /* 00001E7C */]
  2853. 00001C2A  504F                     addq.w     A7, 8
  2854. 00001C2C  600A                     bra        +0xC /* 00001C38 */
  2855. label00001C2E:
  2856. 00001C2E  486D 9E8A                pea.l      [A5 - 0x6176]
  2857. 00001C32  4EBA 020C                jsr        [PC + 0x20C /* 00001E40 */]
  2858. 00001C36  584F                     addq.w     A7, 4
  2859. label00001C38:
  2860. 00001C38  4E75                     rts
  2861. fn00001C3A:
  2862. 00001C3A  594F                     subq.w     A7, 4
  2863. 00001C3C  2EAF 0008                move.l     [A7], [A7 + 0x8]
  2864. 00001C40  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  2865. 00001C44  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  2866. 00001C48  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  2867. 00001C4C  4EBA 00E2                jsr        [PC + 0xE2 /* 00001D30 */]
  2868. 00001C50  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2869. 00001C54  4E75                     rts
  2870. fn00001C56:
  2871. 00001C56  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  2872. 00001C5A  246F 0014                movea.l    A2, [A7 + 0x14]
  2873. 00001C5E  286F 0018                movea.l    A4, [A7 + 0x18]
  2874. 00001C62  266F 0020                movea.l    A3, [A7 + 0x20]
  2875. 00001C66  426A 0058                clr.w      [A2 + 0x58]
  2876. 00001C6A  256F 001C 004E           move.l     [A2 + 0x4E], [A7 + 0x1C]
  2877. 00001C70  357C FFFF 0056           move.w     [A2 + 0x56], 0xFFFF
  2878. 00001C76  554F                     subq.w     A7, 2
  2879. 00001C78  A994                     syscall    CurResFile
  2880. 00001C7A  301F                     move.w     D0, [A7]+
  2881. 00001C7C  3600                     move.w     D3, D0
  2882. 00001C7E  554F                     subq.w     A7, 2
  2883. 00001C80  3F14                     move.w     -[A7], [A4]
  2884. 00001C82  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  2885. 00001C86  486C 0006                pea.l      [A4 + 0x6]
  2886. 00001C8A  1F3C 0001                move.b     -[A7], 0x1
  2887. 00001C8E  4EAD DA1E                jsr        [A5 - 0x25E2]
  2888. 00001C92  301F                     move.w     D0, [A7]+
  2889. 00001C94  3540 0056                move.w     [A2 + 0x56], D0
  2890. 00001C98  554F                     subq.w     A7, 2
  2891. 00001C9A  A9AF                     syscall    ResError
  2892. 00001C9C  301F                     move.w     D0, [A7]+
  2893. 00001C9E  3680                     move.w     [A3], D0
  2894. 00001CA0  4A53                     tst.w      [A3]
  2895. 00001CA2  6708                     beq        +0xA /* 00001CAC */
  2896. 00001CA4  357C FFFF 0056           move.w     [A2 + 0x56], 0xFFFF
  2897. 00001CAA  604A                     bra        +0x4C /* 00001CF6 */
  2898. label00001CAC:
  2899. 00001CAC  3F2A 0056                move.w     -[A7], [A2 + 0x56]
  2900. 00001CB0  A998                     syscall    UseResFile
  2901. 00001CB2  594F                     subq.w     A7, 4
  2902. 00001CB4  2F3C 4252 414B           move.l     -[A7], 0x4252414B /* 'BRAK' */
  2903. 00001CBA  3F3C 0001                move.w     -[A7], 0x1
  2904. 00001CBE  A80E                     syscall    Get1IndResource/Get1IxResource
  2905. 00001CC0  205F                     movea.l    A0, [A7]+
  2906. 00001CC2  2488                     move.l     [A2], A0
  2907. 00001CC4  4A92                     tst.l      [A2]
  2908. 00001CC6  6714                     beq        +0x16 /* 00001CDC */
  2909. 00001CC8  2052                     movea.l    A0, [A2]
  2910. 00001CCA  A064                     syscall    MoveHHi
  2911. 00001CCC  A029                     syscall    HLock
  2912. 00001CCE  2052                     movea.l    A0, [A2]
  2913. 00001CD0  2550 0004                move.l     [A2 + 0x4], [A0]
  2914. 00001CD4  7001                     moveq.l    D0, 0x01
  2915. 00001CD6  2540 0052                move.l     [A2 + 0x52], D0
  2916. 00001CDA  6016                     bra        +0x18 /* 00001CF2 */
  2917. label00001CDC:
  2918. 00001CDC  554F                     subq.w     A7, 2
  2919. 00001CDE  A9AF                     syscall    ResError
  2920. 00001CE0  301F                     move.w     D0, [A7]+
  2921. 00001CE2  3680                     move.w     [A3], D0
  2922. 00001CE4  4A53                     tst.w      [A3]
  2923. 00001CE6  6604                     bne        +0x6 /* 00001CEC */
  2924. 00001CE8  36BC FF94                move.w     [A3], 0xFF94
  2925. label00001CEC:
  2926. 00001CEC  3F2A 0056                move.w     -[A7], [A2 + 0x56]
  2927. 00001CF0  A99A                     syscall    CloseResFile
  2928. label00001CF2:
  2929. 00001CF2  3F03                     move.w     -[A7], D3
  2930. 00001CF4  A998                     syscall    UseResFile
  2931. label00001CF6:
  2932. 00001CF6  526A 0058                addq.w     [A2 + 0x58], 1
  2933. 00001CFA  204A                     movea.l    A0, A2
  2934. 00001CFC  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2935. 00001D00  4E75                     rts
  2936. fn00001D02:
  2937. 00001D02  2F0A                     move.l     -[A7], A2
  2938. 00001D04  246F 0008                movea.l    A2, [A7 + 0x8]
  2939. 00001D08  200A                     move.l     D0, A2
  2940. 00001D0A  671E                     beq        +0x20 /* 00001D2A */
  2941. 00001D0C  4A6A 0058                tst.w      [A2 + 0x58]
  2942. 00001D10  670A                     beq        +0xC /* 00001D1C */
  2943. 00001D12  2052                     movea.l    A0, [A2]
  2944. 00001D14  A02A                     syscall    HUnlock
  2945. 00001D16  3F2A 0056                move.w     -[A7], [A2 + 0x56]
  2946. 00001D1A  A99A                     syscall    CloseResFile
  2947. label00001D1C:
  2948. 00001D1C  4A6F 000C                tst.w      [A7 + 0xC]
  2949. 00001D20  6F08                     ble        +0xA /* 00001D2A */
  2950. 00001D22  200A                     move.l     D0, A2
  2951. 00001D24  6704                     beq        +0x6 /* 00001D2A */
  2952. 00001D26  204A                     movea.l    A0, A2
  2953. 00001D28  A01F                     syscall    DisposPtr/DisposePtr
  2954. label00001D2A:
  2955. 00001D2A  204A                     movea.l    A0, A2
  2956. 00001D2C  245F                     movea.l    A2, [A7]+
  2957. 00001D2E  4E75                     rts
  2958. fn00001D30:
  2959. 00001D30  4FEF FF00                lea.l      A7, [A7 - 0x100]
  2960. 00001D34  2F2F 0108                move.l     -[A7], [A7 + 0x108]
  2961. 00001D38  486F 0004                pea.l      [A7 + 0x4]
  2962. 00001D3C  4EAD DDC8                jsr        [A5 - 0x2238]
  2963. 00001D40  206F 0114                movea.l    A0, [A7 + 0x114]
  2964. 00001D44  7001                     moveq.l    D0, 0x01
  2965. 00001D46  2080                     move.l     [A0], D0
  2966. 00001D48  486F 0008                pea.l      [A7 + 0x8]
  2967. 00001D4C  2F2F 0118                move.l     -[A7], [A7 + 0x118]
  2968. 00001D50  206F 0114                movea.l    A0, [A7 + 0x114]
  2969. 00001D54  2068 0004                movea.l    A0, [A0 + 0x4]
  2970. 00001D58  4E90                     jsr        [A0]
  2971. 00001D5A  4FEF 0108                lea.l      A7, [A7 + 0x108]
  2972. 00001D5E  4E75                     rts
  2973. fn00001D60:
  2974. 00001D60  2F0A                     move.l     -[A7], A2
  2975. 00001D62  246F 0008                movea.l    A2, [A7 + 0x8]
  2976. 00001D66  4A92                     tst.l      [A2]
  2977. 00001D68  6710                     beq        +0x12 /* 00001D7A */
  2978. 00001D6A  206F 000C                movea.l    A0, [A7 + 0xC]
  2979. 00001D6E  2252                     movea.l    A1, [A2]
  2980. 00001D70  7004                     moveq.l    D0, 0x04
  2981. 00001D72  A9EF                     syscall    PtrAndHand
  2982. 00001D74  3540 0008                move.w     [A2 + 0x8], D0
  2983. 00001D78  6016                     bra        +0x18 /* 00001D90 */
  2984. label00001D7A:
  2985. 00001D7A  554F                     subq.w     A7, 2
  2986. 00001D7C  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2987. 00001D80  2F0A                     move.l     -[A7], A2
  2988. 00001D82  4878 0004                push.l     0x4
  2989. 00001D86  4EAD DA36                jsr        [A5 - 0x25CA]
  2990. 00001D8A  301F                     move.w     D0, [A7]+
  2991. 00001D8C  3540 0008                move.w     [A2 + 0x8], D0
  2992. label00001D90:
  2993. 00001D90  4A6A 0008                tst.w      [A2 + 0x8]
  2994. 00001D94  6604                     bne        +0x6 /* 00001D9A */
  2995. 00001D96  52AA 0004                addq.l     [A2 + 0x4], 1
  2996. label00001D9A:
  2997. 00001D9A  245F                     movea.l    A2, [A7]+
  2998. 00001D9C  4E75                     rts
  2999. fn00001D9E:
  3000. 00001D9E  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  3001. 00001DA2  246F 0014                movea.l    A2, [A7 + 0x14]
  3002. 00001DA6  286F 0018                movea.l    A4, [A7 + 0x18]
  3003. 00001DAA  4A92                     tst.l      [A2]
  3004. 00001DAC  6706                     beq        +0x8 /* 00001DB4 */
  3005. 00001DAE  4AAA 0004                tst.l      [A2 + 0x4]
  3006. 00001DB2  6606                     bne        +0x8 /* 00001DBA */
  3007. label00001DB4:
  3008. 00001DB4  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3009. 00001DB8  4E75                     rts
  3010. label00001DBA:
  3011. 00001DBA  97CB                     sub.l      A3, A3
  3012. 00001DBC  2052                     movea.l    A0, [A2]
  3013. 00001DBE  2650                     movea.l    A3, [A0]
  3014. 00001DC0  7600                     moveq.l    D3, 0x00
  3015. 00001DC2  600A                     bra        +0xC /* 00001DCE */
  3016. label00001DC4:
  3017. 00001DC4  2053                     movea.l    A0, [A3]
  3018. 00001DC6  B1D4                     cmpa.l     A0, [A4]
  3019. 00001DC8  670A                     beq        +0xC /* 00001DD4 */
  3020. 00001DCA  5283                     addq.l     D3, 1
  3021. 00001DCC  588B                     addq.l     A3, 4
  3022. label00001DCE:
  3023. 00001DCE  B6AA 0004                cmp.l      D3, [A2 + 0x4]
  3024. 00001DD2  6DF0                     blt        -0xE /* 00001DC4 */
  3025. label00001DD4:
  3026. 00001DD4  B6AA 0004                cmp.l      D3, [A2 + 0x4]
  3027. 00001DD8  6C3C                     bge        +0x3E /* 00001E16 */
  3028. 00001DDA  53AA 0004                subq.l     [A2 + 0x4], 1
  3029. 00001DDE  B6AA 0004                cmp.l      D3, [A2 + 0x4]
  3030. 00001DE2  6C1A                     bge        +0x1C /* 00001DFE */
  3031. 00001DE4  2003                     move.l     D0, D3
  3032. 00001DE6  E588                     lsl        D0, 2
  3033. 00001DE8  2652                     movea.l    A3, [A2]
  3034. 00001DEA  2653                     movea.l    A3, [A3]
  3035. 00001DEC  D7C0                     add.l      A3, D0
  3036. 00001DEE  41EB 0004                lea.l      A0, [A3 + 0x4]
  3037. 00001DF2  224B                     movea.l    A1, A3
  3038. 00001DF4  202A 0004                move.l     D0, [A2 + 0x4]
  3039. 00001DF8  9083                     sub.l      D0, D3
  3040. 00001DFA  E588                     lsl        D0, 2
  3041. 00001DFC  A02E                     syscall    BlockMove/BlockMoveData
  3042. label00001DFE:
  3043. 00001DFE  4AAA 0004                tst.l      [A2 + 0x4]
  3044. 00001E02  670C                     beq        +0xE /* 00001E10 */
  3045. 00001E04  2052                     movea.l    A0, [A2]
  3046. 00001E06  202A 0004                move.l     D0, [A2 + 0x4]
  3047. 00001E0A  E588                     lsl        D0, 2
  3048. 00001E0C  A024                     syscall    SetHandleSize
  3049. 00001E0E  6006                     bra        +0x8 /* 00001E16 */
  3050. label00001E10:
  3051. 00001E10  2052                     movea.l    A0, [A2]
  3052. 00001E12  A023                     syscall    DisposHandle/DisposeHandle
  3053. 00001E14  4292                     clr.l      [A2]
  3054. label00001E16:
  3055. 00001E16  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3056. 00001E1A  4E75                     rts
  3057. fn00001E1C:
  3058. 00001E1C  222F 0008                move.l     D1, [A7 + 0x8]
  3059. 00001E20  4A81                     tst.l      D1
  3060. 00001E22  6D0A                     blt        +0xC /* 00001E2E */
  3061. 00001E24  206F 0004                movea.l    A0, [A7 + 0x4]
  3062. 00001E28  B2A8 0004                cmp.l      D1, [A0 + 0x4]
  3063. 00001E2C  6D04                     blt        +0x6 /* 00001E32 */
  3064. label00001E2E:
  3065. 00001E2E  91C8                     sub.l      A0, A0
  3066. 00001E30  4E75                     rts
  3067. label00001E32:
  3068. 00001E32  2001                     move.l     D0, D1
  3069. 00001E34  E588                     lsl        D0, 2
  3070. 00001E36  2050                     movea.l    A0, [A0]
  3071. 00001E38  2250                     movea.l    A1, [A0]
  3072. 00001E3A  2071 0800                movea.l    A0, [A1 + D0]
  3073. 00001E3E  4E75                     rts
  3074. fn00001E40:
  3075. 00001E40  48E7 0030                movem.l    -[A7], A2,A3
  3076. 00001E44  266F 000C                movea.l    A3, [A7 + 0xC]
  3077. 00001E48  4A93                     tst.l      [A3]
  3078. 00001E4A  672A                     beq        +0x2C /* 00001E76 */
  3079. 00001E4C  2053                     movea.l    A0, [A3]
  3080. 00001E4E  A029                     syscall    HLock
  3081. 00001E50  2053                     movea.l    A0, [A3]
  3082. 00001E52  2450                     movea.l    A2, [A0]
  3083. 00001E54  600E                     bra        +0x10 /* 00001E64 */
  3084. label00001E56:
  3085. 00001E56  3F3C 0001                move.w     -[A7], 0x1
  3086. 00001E5A  2F12                     move.l     -[A7], [A2]
  3087. 00001E5C  4EBA FEA4                jsr        [PC - 0x15C /* 00001D02 */]
  3088. 00001E60  588A                     addq.l     A2, 4
  3089. 00001E62  5C4F                     addq.w     A7, 6
  3090. label00001E64:
  3091. 00001E64  202B 0004                move.l     D0, [A3 + 0x4]
  3092. 00001E68  53AB 0004                subq.l     [A3 + 0x4], 1
  3093. 00001E6C  4A80                     tst.l      D0
  3094. 00001E6E  66E6                     bne        -0x18 /* 00001E56 */
  3095. 00001E70  2053                     movea.l    A0, [A3]
  3096. 00001E72  A023                     syscall    DisposHandle/DisposeHandle
  3097. 00001E74  4293                     clr.l      [A3]
  3098. label00001E76:
  3099. 00001E76  4CDF 0C00                movem.l    A2,A3, [A7]+
  3100. 00001E7A  4E75                     rts
  3101. fn00001E7C:
  3102. 00001E7C  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  3103. 00001E80  246F 0018                movea.l    A2, [A7 + 0x18]
  3104. 00001E84  286F 001C                movea.l    A4, [A7 + 0x1C]
  3105. 00001E88  7600                     moveq.l    D3, 0x00
  3106. label00001E8A:
  3107. 00001E8A  B6AA 0004                cmp.l      D3, [A2 + 0x4]
  3108. 00001E8E  6C2A                     bge        +0x2C /* 00001EBA */
  3109. 00001E90  2003                     move.l     D0, D3
  3110. 00001E92  E588                     lsl        D0, 2
  3111. 00001E94  2052                     movea.l    A0, [A2]
  3112. 00001E96  2250                     movea.l    A1, [A0]
  3113. 00001E98  2671 0800                movea.l    A3, [A1 + D0]
  3114. 00001E9C  206B 004E                movea.l    A0, [A3 + 0x4E]
  3115. 00001EA0  B1CC                     cmpa.l     A0, A4
  3116. 00001EA2  66E6                     bne        -0x18 /* 00001E8A */
  3117. 00001EA4  282A 0004                move.l     D4, [A2 + 0x4]
  3118. 00001EA8  2F0B                     move.l     -[A7], A3
  3119. 00001EAA  4EBA FD40                jsr        [PC - 0x2C0 /* 00001BEC */]
  3120. 00001EAE  B8AA 0004                cmp.l      D4, [A2 + 0x4]
  3121. 00001EB2  584F                     addq.w     A7, 4
  3122. 00001EB4  66D4                     bne        -0x2A /* 00001E8A */
  3123. 00001EB6  5283                     addq.l     D3, 1
  3124. 00001EB8  60D0                     bra        -0x2E /* 00001E8A */
  3125. label00001EBA:
  3126. 00001EBA  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  3127. 00001EBE  4E75                     rts
  3128. 00001EC0  2F0A                     move.l     -[A7], A2
  3129. 00001EC2  246F 0008                movea.l    A2, [A7 + 0x8]
  3130. 00001EC6  200A                     move.l     D0, A2
  3131. 00001EC8  671C                     beq        +0x1E /* 00001EE6 */
  3132. 00001ECA  4A6A 000A                tst.w      [A2 + 0xA]
  3133. 00001ECE  6708                     beq        +0xA /* 00001ED8 */
  3134. 00001ED0  2F0A                     move.l     -[A7], A2
  3135. 00001ED2  4EBA FF6C                jsr        [PC - 0x94 /* 00001E40 */]
  3136. 00001ED6  584F                     addq.w     A7, 4
  3137. label00001ED8:
  3138. 00001ED8  4A6F 000C                tst.w      [A7 + 0xC]
  3139. 00001EDC  6F08                     ble        +0xA /* 00001EE6 */
  3140. 00001EDE  2F0A                     move.l     -[A7], A2
  3141. 00001EE0  4EAD D9A0                jsr        [A5 - 0x2660]
  3142. 00001EE4  584F                     addq.w     A7, 4
  3143. label00001EE6:
  3144. 00001EE6  204A                     movea.l    A0, A2
  3145. 00001EE8  245F                     movea.l    A2, [A7]+
  3146. 00001EEA  4E75                     rts
  3147. 00001EEC  486D 9E98                pea.l      [A5 - 0x6168]
  3148. 00001EF0  486D EC10                pea.l      [A5 - 0x13F0]
  3149. 00001EF4  426D 9E94                clr.w      [A5 - 0x616C]
  3150. 00001EF8  42AD 9E8A                clr.l      [A5 - 0x6176]
  3151. 00001EFC  42AD 9E8E                clr.l      [A5 - 0x6172]
  3152. 00001F00  426D 9E92                clr.w      [A5 - 0x616E]
  3153. 00001F04  526D 9E94                addq.w     [A5 - 0x616C], 1
  3154. 00001F08  486D 9E8A                pea.l      [A5 - 0x6176]
  3155. 00001F0C  4EAD D97C                jsr        [A5 - 0x2684]
  3156. 00001F10  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3157. 00001F14  4EF9 FFFF F170           jmp        [0xFFFFF170]
  3158. fn00001F1A:
  3159. 00001F1A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  3160. 00001F1E  594F                     subq.w     A7, 4
  3161. 00001F20  286F 0018                movea.l    A4, [A7 + 0x18]
  3162. 00001F24  97CB                     sub.l      A3, A3
  3163. 00001F26  95CA                     sub.l      A2, A2
  3164. 00001F28  4297                     clr.l      [A7]
  3165. 00001F2A  4EAD EDA0                jsr        [A5 - 0x1260]
  3166. 00001F2E  2648                     movea.l    A3, A0
  3167. 00001F30  2008                     move.l     D0, A0
  3168. 00001F32  660A                     bne        +0xC /* 00001F3E */
  3169. 00001F34  7001                     moveq.l    D0, 0x01
  3170. 00001F36  584F                     addq.w     A7, 4
  3171. 00001F38  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3172. 00001F3C  4E75                     rts
  3173. label00001F3E:
  3174. 00001F3E  2F0B                     move.l     -[A7], A3
  3175. 00001F40  4EAD ED80                jsr        [A5 - 0x1280]
  3176. 00001F44  2448                     movea.l    A2, A0
  3177. 00001F46  256C 0006 030C           move.l     [A2 + 0x30C], [A4 + 0x6]
  3178. 00001F4C  256C 000A 02EC           move.l     [A2 + 0x2EC], [A4 + 0xA]
  3179. 00001F52  256C 000E 02F0           move.l     [A2 + 0x2F0], [A4 + 0xE]
  3180. 00001F58  256C 0012 02F4           move.l     [A2 + 0x2F4], [A4 + 0x12]
  3181. 00001F5E  256C 0016 02F8           move.l     [A2 + 0x2F8], [A4 + 0x16]
  3182. 00001F64  256C 001A 02FC           move.l     [A2 + 0x2FC], [A4 + 0x1A]
  3183. 00001F6A  256C 001E 0300           move.l     [A2 + 0x300], [A4 + 0x1E]
  3184. 00001F70  256C 0022 0304           move.l     [A2 + 0x304], [A4 + 0x22]
  3185. 00001F76  254B 0314                move.l     [A2 + 0x314], A3
  3186. 00001F7A  7008                     moveq.l    D0, 0x08
  3187. 00001F7C  2540 0002                move.l     [A2 + 0x2], D0
  3188. 00001F80  357C 0001 0006           move.w     [A2 + 0x6], 0x1
  3189. 00001F86  34BC FFFF                move.w     [A2], 0xFFFF
  3190. 00001F8A  2F0B                     move.l     -[A7], A3
  3191. 00001F8C  4EAD ED88                jsr        [A5 - 0x1278]
  3192. 00001F90  486F 0008                pea.l      [A7 + 0x8]
  3193. 00001F94  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  3194. 00001F98  3054                     movea.w    A0, [A4]
  3195. 00001F9A  2F08                     move.l     -[A7], A0
  3196. 00001F9C  2F0B                     move.l     -[A7], A3
  3197. 00001F9E  4EAD EDB0                jsr        [A5 - 0x1250]
  3198. 00001FA2  3600                     move.w     D3, D0
  3199. 00001FA4  4A43                     tst.w      D3
  3200. 00001FA6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3201. 00001FAA  670C                     beq        +0xE /* 00001FB8 */
  3202. 00001FAC  2F0B                     move.l     -[A7], A3
  3203. 00001FAE  4EAD EDA8                jsr        [A5 - 0x1258]
  3204. 00001FB2  97CB                     sub.l      A3, A3
  3205. 00001FB4  584F                     addq.w     A7, 4
  3206. 00001FB6  6026                     bra        +0x28 /* 00001FDE */
  3207. label00001FB8:
  3208. 00001FB8  2F0B                     move.l     -[A7], A3
  3209. 00001FBA  4EBA 066E                jsr        [PC + 0x66E /* 0000262A */]
  3210. 00001FBE  486D EC30                pea.l      [A5 - 0x13D0]
  3211. 00001FC2  4EBA 065E                jsr        [PC + 0x65E /* 00002622 */]
  3212. 00001FC6  2F0B                     move.l     -[A7], A3
  3213. 00001FC8  4EAD ED80                jsr        [A5 - 0x1280]
  3214. 00001FCC  2448                     movea.l    A2, A0
  3215. 00001FCE  256F 000C 0310           move.l     [A2 + 0x310], [A7 + 0xC]
  3216. 00001FD4  2F0B                     move.l     -[A7], A3
  3217. 00001FD6  4EAD ED88                jsr        [A5 - 0x1278]
  3218. 00001FDA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3219. label00001FDE:
  3220. 00001FDE  294B 0026                move.l     [A4 + 0x26], A3
  3221. 00001FE2  3003                     move.w     D0, D3
  3222. 00001FE4  584F                     addq.w     A7, 4
  3223. 00001FE6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3224. 00001FEA  4E75                     rts
  3225. fn00001FEC:
  3226. 00001FEC  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  3227. 00001FF0  4EAD EDA8                jsr        [A5 - 0x1258]
  3228. 00001FF4  7000                     moveq.l    D0, 0x00
  3229. 00001FF6  584F                     addq.w     A7, 4
  3230. 00001FF8  4E75                     rts
  3231. fn00001FFA:
  3232. 00001FFA  48E7 1030                movem.l    -[A7], D3,A2,A3
  3233. 00001FFE  266F 0010                movea.l    A3, [A7 + 0x10]
  3234. 00002002  95CA                     sub.l      A2, A2
  3235. 00002004  2F0B                     move.l     -[A7], A3
  3236. 00002006  4EAD ED80                jsr        [A5 - 0x1280]
  3237. 0000200A  2448                     movea.l    A2, A0
  3238. 0000200C  2F0A                     move.l     -[A7], A2
  3239. 0000200E  4EAD ED98                jsr        [A5 - 0x1268]
  3240. 00002012  3600                     move.w     D3, D0
  3241. 00002014  504F                     addq.w     A7, 8
  3242. 00002016  660A                     bne        +0xC /* 00002022 */
  3243. 00002018  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3244. 0000201C  4EAD ED28                jsr        [A5 - 0x12D8]
  3245. 00002020  584F                     addq.w     A7, 4
  3246. label00002022:
  3247. 00002022  2F0B                     move.l     -[A7], A3
  3248. 00002024  4EAD ED88                jsr        [A5 - 0x1278]
  3249. 00002028  3003                     move.w     D0, D3
  3250. 0000202A  584F                     addq.w     A7, 4
  3251. 0000202C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3252. 00002030  4E75                     rts
  3253. fn00002032:
  3254. 00002032  2F0A                     move.l     -[A7], A2
  3255. 00002034  95CA                     sub.l      A2, A2
  3256. 00002036  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3257. 0000203A  4EAD ED80                jsr        [A5 - 0x1280]
  3258. 0000203E  2448                     movea.l    A2, A0
  3259. 00002040  2F0A                     move.l     -[A7], A2
  3260. 00002042  4EAD ED98                jsr        [A5 - 0x1268]
  3261. 00002046  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  3262. 0000204A  4EAD ED88                jsr        [A5 - 0x1278]
  3263. 0000204E  7000                     moveq.l    D0, 0x00
  3264. 00002050  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3265. 00002054  245F                     movea.l    A2, [A7]+
  3266. 00002056  4E75                     rts
  3267. fn00002058:
  3268. 00002058  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3269. 0000205C  282F 001C                move.l     D4, [A7 + 0x1C]
  3270. 00002060  266F 0020                movea.l    A3, [A7 + 0x20]
  3271. 00002064  286F 0024                movea.l    A4, [A7 + 0x24]
  3272. 00002068  2C6F 0028                movea.l    A6, [A7 + 0x28]
  3273. 0000206C  7600                     moveq.l    D3, 0x00
  3274. 0000206E  95CA                     sub.l      A2, A2
  3275. 00002070  2F04                     move.l     -[A7], D4
  3276. 00002072  4EAD ED80                jsr        [A5 - 0x1280]
  3277. 00002076  2448                     movea.l    A2, A0
  3278. 00002078  4294                     clr.l      [A4]
  3279. 0000207A  3CBC 0001                move.w     [A6], 0x1
  3280. 0000207E  2F0B                     move.l     -[A7], A3
  3281. 00002080  2F0A                     move.l     -[A7], A2
  3282. 00002082  4EAD ED70                jsr        [A5 - 0x1290]
  3283. 00002086  4A40                     tst.w      D0
  3284. 00002088  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3285. 0000208C  670C                     beq        +0xE /* 0000209A */
  3286. 0000208E  70FF                     moveq.l    D0, 0xFFFFFFFF
  3287. 00002090  2880                     move.l     [A4], D0
  3288. 00002092  7000                     moveq.l    D0, 0x00
  3289. 00002094  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3290. 00002098  4E75                     rts
  3291. label0000209A:
  3292. 0000209A  486A 022A                pea.l      [A2 + 0x22A]
  3293. 0000209E  486A 0226                pea.l      [A2 + 0x226]
  3294. 000020A2  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3295. 000020A6  4EAD ED38                jsr        [A5 - 0x12C8]
  3296. 000020AA  4AAA 0304                tst.l      [A2 + 0x304]
  3297. 000020AE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3298. 000020B2  6714                     beq        +0x16 /* 000020C8 */
  3299. 000020B4  3F3C 0001                move.w     -[A7], 0x1
  3300. 000020B8  2F0B                     move.l     -[A7], A3
  3301. 000020BA  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  3302. 000020BE  206A 0304                movea.l    A0, [A2 + 0x304]
  3303. 000020C2  4E90                     jsr        [A0]
  3304. 000020C4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3305. label000020C8:
  3306. 000020C8  41EA 0008                lea.l      A0, [A2 + 0x8]
  3307. 000020CC  224B                     movea.l    A1, A3
  3308. 000020CE  2008                     move.l     D0, A0
  3309. label000020D0:
  3310. 000020D0  10D9                     move.b     [A0]+, [A1]+
  3311. 000020D2  66FC                     bne        -0x2 /* 000020D0 */
  3312. 000020D4  486A 022C                pea.l      [A2 + 0x22C]
  3313. 000020D8  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3314. 000020DC  4EAD ED48                jsr        [A5 - 0x12B8]
  3315. 000020E0  486A 0294                pea.l      [A2 + 0x294]
  3316. 000020E4  486A 0290                pea.l      [A2 + 0x290]
  3317. 000020E8  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3318. 000020EC  4EAD ED40                jsr        [A5 - 0x12C0]
  3319. 000020F0  486A 0008                pea.l      [A2 + 0x8]
  3320. 000020F4  4EBA 0456                jsr        [PC + 0x456 /* 0000254C */]
  3321. 000020F8  3600                     move.w     D3, D0
  3322. 000020FA  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3323. 000020FE  664A                     bne        +0x4C /* 0000214A */
  3324. 00002100  486A 029E                pea.l      [A2 + 0x29E]
  3325. 00002104  4267                     clr.w      -[A7]
  3326. 00002106  2F0A                     move.l     -[A7], A2
  3327. 00002108  4EAD ED50                jsr        [A5 - 0x12B0]
  3328. 0000210C  3600                     move.w     D3, D0
  3329. 0000210E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3330. 00002112  6636                     bne        +0x38 /* 0000214A */
  3331. 00002114  2F2A 029E                move.l     -[A7], [A2 + 0x29E]
  3332. 00002118  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3333. 0000211C  4EAD ED08                jsr        [A5 - 0x12F8]
  3334. 00002120  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3335. 00002124  4EAD ED20                jsr        [A5 - 0x12E0]
  3336. 00002128  584F                     addq.w     A7, 4
  3337. 0000212A  2F00                     move.l     -[A7], D0
  3338. 0000212C  2F2A 029E                move.l     -[A7], [A2 + 0x29E]
  3339. 00002130  4EBA 1FA8                jsr        [PC + 0x1FA8 /* 000040DA */]
  3340. 00002134  2880                     move.l     [A4], D0
  3341. 00002136  2540 0296                move.l     [A2 + 0x296], D0
  3342. 0000213A  3CAA 02CA                move.w     [A6], [A2 + 0x2CA]
  3343. 0000213E  2F0A                     move.l     -[A7], A2
  3344. 00002140  4EAD ED60                jsr        [A5 - 0x12A0]
  3345. 00002144  3600                     move.w     D3, D0
  3346. 00002146  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3347. label0000214A:
  3348. 0000214A  42A7                     clr.l      -[A7]
  3349. 0000214C  42A7                     clr.l      -[A7]
  3350. 0000214E  42A7                     clr.l      -[A7]
  3351. 00002150  42A7                     clr.l      -[A7]
  3352. 00002152  2F0A                     move.l     -[A7], A2
  3353. 00002154  4EAD EDC8                jsr        [A5 - 0x1238]
  3354. 00002158  2F04                     move.l     -[A7], D4
  3355. 0000215A  4EAD ED88                jsr        [A5 - 0x1278]
  3356. 0000215E  3003                     move.w     D0, D3
  3357. 00002160  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3358. 00002164  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3359. 00002168  4E75                     rts
  3360. fn0000216A:
  3361. 0000216A  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  3362. 0000216E  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  3363. 00002172  2C6F 0038                movea.l    A6, [A7 + 0x38]
  3364. 00002176  266F 003C                movea.l    A3, [A7 + 0x3C]
  3365. 0000217A  286F 0040                movea.l    A4, [A7 + 0x40]
  3366. 0000217E  7600                     moveq.l    D3, 0x00
  3367. 00002180  41ED 9F18                lea.l      A0, [A5 - 0x60E8]
  3368. 00002184  43D7                     lea.l      A1, [A7]
  3369. 00002186  7007                     moveq.l    D0, 0x07
  3370. label00002188:
  3371. 00002188  22D8                     move.l     [A1]+, [A0]+
  3372. 0000218A  51C8 FFFC                dbf        D0, -0x6 /* 00002188 */
  3373. 0000218E  95CA                     sub.l      A2, A2
  3374. 00002190  2F0E                     move.l     -[A7], A6
  3375. 00002192  4EAD ED80                jsr        [A5 - 0x1280]
  3376. 00002196  2448                     movea.l    A2, A0
  3377. 00002198  4878 0020                push.l     0x20 /* ' ' */
  3378. 0000219C  42A7                     clr.l      -[A7]
  3379. 0000219E  486F 000C                pea.l      [A7 + 0xC]
  3380. 000021A2  4EAD D94C                jsr        [A5 - 0x26B4]
  3381. 000021A6  4294                     clr.l      [A4]
  3382. 000021A8  200B                     move.l     D0, A3
  3383. 000021AA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3384. 000021AE  6702                     beq        +0x4 /* 000021B2 */
  3385. 000021B0  4293                     clr.l      [A3]
  3386. label000021B2:
  3387. 000021B2  42AA 02D4                clr.l      [A2 + 0x2D4]
  3388. 000021B6  4AAA 02F4                tst.l      [A2 + 0x2F4]
  3389. 000021BA  660C                     bne        +0xE /* 000021C8 */
  3390. 000021BC  7000                     moveq.l    D0, 0x00
  3391. 000021BE  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3392. 000021C2  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  3393. 000021C6  4E75                     rts
  3394. label000021C8:
  3395. 000021C8  200B                     move.l     D0, A3
  3396. 000021CA  670C                     beq        +0xE /* 000021D8 */
  3397. 000021CC  2F0A                     move.l     -[A7], A2
  3398. 000021CE  4EAD EDB8                jsr        [A5 - 0x1248]
  3399. 000021D2  3600                     move.w     D3, D0
  3400. 000021D4  584F                     addq.w     A7, 4
  3401. 000021D6  6676                     bne        +0x78 /* 0000224E */
  3402. label000021D8:
  3403. 000021D8  4857                     pea.l      [A7]
  3404. 000021DA  4267                     clr.w      -[A7]
  3405. 000021DC  2F0A                     move.l     -[A7], A2
  3406. 000021DE  4EAD ED58                jsr        [A5 - 0x12A8]
  3407. 000021E2  3600                     move.w     D3, D0
  3408. 000021E4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3409. 000021E8  662C                     bne        +0x2E /* 00002216 */
  3410. 000021EA  28AF 0018                move.l     [A4], [A7 + 0x18]
  3411. 000021EE  6726                     beq        +0x28 /* 00002216 */
  3412. 000021F0  200B                     move.l     D0, A3
  3413. 000021F2  6722                     beq        +0x24 /* 00002216 */
  3414. 000021F4  4857                     pea.l      [A7]
  3415. 000021F6  2F0A                     move.l     -[A7], A2
  3416. 000021F8  4EAD ED68                jsr        [A5 - 0x1298]
  3417. 000021FC  486F 0008                pea.l      [A7 + 0x8]
  3418. 00002200  2F0A                     move.l     -[A7], A2
  3419. 00002202  4EAD EDD0                jsr        [A5 - 0x1230]
  3420. 00002206  3600                     move.w     D3, D0
  3421. 00002208  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3422. 0000220C  6608                     bne        +0xA /* 00002216 */
  3423. 0000220E  26AA 02AE                move.l     [A3], [A2 + 0x2AE]
  3424. 00002212  28AA 02B6                move.l     [A4], [A2 + 0x2B6]
  3425. label00002216:
  3426. 00002216  4AAF 001C                tst.l      [A7 + 0x1C]
  3427. 0000221A  670A                     beq        +0xC /* 00002226 */
  3428. 0000221C  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3429. 00002220  4EAD EE10                jsr        [A5 - 0x11F0]
  3430. 00002224  584F                     addq.w     A7, 4
  3431. label00002226:
  3432. 00002226  4AAA 02E0                tst.l      [A2 + 0x2E0]
  3433. 0000222A  670A                     beq        +0xC /* 00002236 */
  3434. 0000222C  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  3435. 00002230  4EAD EE10                jsr        [A5 - 0x11F0]
  3436. 00002234  584F                     addq.w     A7, 4
  3437. label00002236:
  3438. 00002236  4878 0010                push.l     0x10
  3439. 0000223A  42A7                     clr.l      -[A7]
  3440. 0000223C  486A 02DC                pea.l      [A2 + 0x2DC]
  3441. 00002240  4EAD D94C                jsr        [A5 - 0x26B4]
  3442. 00002244  2F0A                     move.l     -[A7], A2
  3443. 00002246  4EAD EDC0                jsr        [A5 - 0x1240]
  3444. 0000224A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3445. label0000224E:
  3446. 0000224E  2F0E                     move.l     -[A7], A6
  3447. 00002250  4EAD ED88                jsr        [A5 - 0x1278]
  3448. 00002254  3003                     move.w     D0, D3
  3449. 00002256  4FEF 0024                lea.l      A7, [A7 + 0x24]
  3450. 0000225A  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  3451. 0000225E  4E75                     rts
  3452. fn00002260:
  3453. 00002260  48E7 1030                movem.l    -[A7], D3,A2,A3
  3454. 00002264  266F 0010                movea.l    A3, [A7 + 0x10]
  3455. 00002268  262F 0014                move.l     D3, [A7 + 0x14]
  3456. 0000226C  95CA                     sub.l      A2, A2
  3457. 0000226E  2F0B                     move.l     -[A7], A3
  3458. 00002270  4EAD ED80                jsr        [A5 - 0x1280]
  3459. 00002274  2448                     movea.l    A2, A0
  3460. 00002276  2543 02A2                move.l     [A2 + 0x2A2], D3
  3461. 0000227A  2F03                     move.l     -[A7], D3
  3462. 0000227C  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3463. 00002280  4EAD ED30                jsr        [A5 - 0x12D0]
  3464. 00002284  2540 02A6                move.l     [A2 + 0x2A6], D0
  3465. 00002288  2F0B                     move.l     -[A7], A3
  3466. 0000228A  4EAD ED88                jsr        [A5 - 0x1278]
  3467. 0000228E  7000                     moveq.l    D0, 0x00
  3468. 00002290  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3469. 00002294  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3470. 00002298  4E75                     rts
  3471. fn0000229A:
  3472. 0000229A  48E7 1030                movem.l    -[A7], D3,A2,A3
  3473. 0000229E  266F 0010                movea.l    A3, [A7 + 0x10]
  3474. 000022A2  262F 0014                move.l     D3, [A7 + 0x14]
  3475. 000022A6  95CA                     sub.l      A2, A2
  3476. 000022A8  2F0B                     move.l     -[A7], A3
  3477. 000022AA  4EAD ED80                jsr        [A5 - 0x1280]
  3478. 000022AE  2448                     movea.l    A2, A0
  3479. 000022B0  B6AA 0296                cmp.l      D3, [A2 + 0x296]
  3480. 000022B4  584F                     addq.w     A7, 4
  3481. 000022B6  6D08                     blt        +0xA /* 000022C0 */
  3482. 000022B8  7011                     moveq.l    D0, 0x11
  3483. 000022BA  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3484. 000022BE  4E75                     rts
  3485. label000022C0:
  3486. 000022C0  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  3487. 000022C4  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3488. 000022C8  4EAD ED18                jsr        [A5 - 0x12E8]
  3489. 000022CC  584F                     addq.w     A7, 4
  3490. 000022CE  2F00                     move.l     -[A7], D0
  3491. 000022D0  2F2A 029A                move.l     -[A7], [A2 + 0x29A]
  3492. 000022D4  2F03                     move.l     -[A7], D3
  3493. 000022D6  2F0A                     move.l     -[A7], A2
  3494. 000022D8  4EAD EDC8                jsr        [A5 - 0x1238]
  3495. 000022DC  2F0B                     move.l     -[A7], A3
  3496. 000022DE  4EAD ED88                jsr        [A5 - 0x1278]
  3497. 000022E2  7000                     moveq.l    D0, 0x00
  3498. 000022E4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3499. 000022E8  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3500. 000022EC  4E75                     rts
  3501. fn000022EE:
  3502. 000022EE  48E7 1030                movem.l    -[A7], D3,A2,A3
  3503. 000022F2  266F 0010                movea.l    A3, [A7 + 0x10]
  3504. 000022F6  7600                     moveq.l    D3, 0x00
  3505. 000022F8  95CA                     sub.l      A2, A2
  3506. 000022FA  2F0B                     move.l     -[A7], A3
  3507. 000022FC  4EAD ED80                jsr        [A5 - 0x1280]
  3508. 00002300  2448                     movea.l    A2, A0
  3509. 00002302  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3510. 00002306  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3511. 0000230A  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3512. 0000230E  4EAD ED00                jsr        [A5 - 0x1300]
  3513. 00002312  3600                     move.w     D3, D0
  3514. 00002314  2F0B                     move.l     -[A7], A3
  3515. 00002316  4EAD ED88                jsr        [A5 - 0x1278]
  3516. 0000231A  3003                     move.w     D0, D3
  3517. 0000231C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3518. 00002320  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3519. 00002324  4E75                     rts
  3520. fn00002326:
  3521. 00002326  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  3522. 0000232A  594F                     subq.w     A7, 4
  3523. 0000232C  266F 001C                movea.l    A3, [A7 + 0x1C]
  3524. 00002330  2A2F 0020                move.l     D5, [A7 + 0x20]
  3525. 00002334  7601                     moveq.l    D3, 0x01
  3526. 00002336  7800                     moveq.l    D4, 0x00
  3527. 00002338  95CA                     sub.l      A2, A2
  3528. 0000233A  2F0B                     move.l     -[A7], A3
  3529. 0000233C  4EAD ED80                jsr        [A5 - 0x1280]
  3530. 00002340  2448                     movea.l    A2, A0
  3531. 00002342  4AAA 029A                tst.l      [A2 + 0x29A]
  3532. 00002346  584F                     addq.w     A7, 4
  3533. 00002348  660A                     bne        +0xC /* 00002354 */
  3534. 0000234A  1003                     move.b     D0, D3
  3535. 0000234C  584F                     addq.w     A7, 4
  3536. 0000234E  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3537. 00002352  4E75                     rts
  3538. label00002354:
  3539. 00002354  4857                     pea.l      [A7]
  3540. 00002356  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  3541. 0000235A  4EAD ED10                jsr        [A5 - 0x12F0]
  3542. 0000235E  BAAF 0008                cmp.l      D5, [A7 + 0x8]
  3543. 00002362  504F                     addq.w     A7, 8
  3544. 00002364  6F0A                     ble        +0xC /* 00002370 */
  3545. 00002366  1003                     move.b     D0, D3
  3546. 00002368  584F                     addq.w     A7, 4
  3547. 0000236A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3548. 0000236E  4E75                     rts
  3549. label00002370:
  3550. 00002370  2005                     move.l     D0, D5
  3551. 00002372  7208                     moveq.l    D1, 0x08
  3552. 00002374  4EAD D910                jsr        [A5 - 0x26F0]
  3553. 00002378  7207                     moveq.l    D1, 0x07
  3554. 0000237A  9280                     sub.l      D1, D0
  3555. 0000237C  7001                     moveq.l    D0, 0x01
  3556. 0000237E  E3A8                     lsl        D0, D1
  3557. 00002380  2205                     move.l     D1, D5
  3558. 00002382  E481                     asr        D1, 2
  3559. 00002384  E089                     lsr        D1, 8
  3560. 00002386  E089                     lsr        D1, 8
  3561. 00002388  E089                     lsr        D1, 8
  3562. 0000238A  EA89                     lsr        D1, 5
  3563. 0000238C  D285                     add.l      D1, D5
  3564. 0000238E  E681                     asr        D1, 3
  3565. 00002390  206A 029A                movea.l    A0, [A2 + 0x29A]
  3566. 00002394  1230 1800                move.b     D1, [A0 + D1]
  3567. 00002398  4881                     ext.w      D1
  3568. 0000239A  48C1                     ext.l      D1
  3569. 0000239C  C280                     and.l      D1, D0
  3570. 0000239E  3801                     move.w     D4, D1
  3571. 000023A0  4A6A 02CA                tst.w      [A2 + 0x2CA]
  3572. 000023A4  6708                     beq        +0xA /* 000023AE */
  3573. 000023A6  4A44                     tst.w      D4
  3574. 000023A8  670A                     beq        +0xC /* 000023B4 */
  3575. 000023AA  7600                     moveq.l    D3, 0x00
  3576. 000023AC  6006                     bra        +0x8 /* 000023B4 */
  3577. label000023AE:
  3578. 000023AE  4A44                     tst.w      D4
  3579. 000023B0  6702                     beq        +0x4 /* 000023B4 */
  3580. 000023B2  7602                     moveq.l    D3, 0x02
  3581. label000023B4:
  3582. 000023B4  2F0B                     move.l     -[A7], A3
  3583. 000023B6  4EAD ED88                jsr        [A5 - 0x1278]
  3584. 000023BA  1003                     move.b     D0, D3
  3585. 000023BC  504F                     addq.w     A7, 8
  3586. 000023BE  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3587. 000023C2  4E75                     rts
  3588. fn000023C4:
  3589. 000023C4  48E7 1030                movem.l    -[A7], D3,A2,A3
  3590. 000023C8  266F 0010                movea.l    A3, [A7 + 0x10]
  3591. 000023CC  262F 0014                move.l     D3, [A7 + 0x14]
  3592. 000023D0  95CA                     sub.l      A2, A2
  3593. 000023D2  2F0B                     move.l     -[A7], A3
  3594. 000023D4  4EAD ED80                jsr        [A5 - 0x1280]
  3595. 000023D8  2448                     movea.l    A2, A0
  3596. 000023DA  2543 0002                move.l     [A2 + 0x2], D3
  3597. 000023DE  2F03                     move.l     -[A7], D3
  3598. 000023E0  4EBA 0236                jsr        [PC + 0x236 /* 00002618 */]
  3599. 000023E4  2F0B                     move.l     -[A7], A3
  3600. 000023E6  4EAD ED88                jsr        [A5 - 0x1278]
  3601. 000023EA  7000                     moveq.l    D0, 0x00
  3602. 000023EC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3603. 000023F0  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3604. 000023F4  4E75                     rts
  3605. fn000023F6:
  3606. 000023F6  594F                     subq.w     A7, 4
  3607. 000023F8  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3608. 000023FC  4EAD ED80                jsr        [A5 - 0x1280]
  3609. 00002400  2F48 0004                move.l     [A7 + 0x4], A0
  3610. 00002404  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  3611. 00002408  4EAD ED90                jsr        [A5 - 0x1270]
  3612. 0000240C  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  3613. 00002410  4EAD ED88                jsr        [A5 - 0x1278]
  3614. 00002414  7000                     moveq.l    D0, 0x00
  3615. 00002416  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3616. 0000241A  4E75                     rts
  3617. 0000241C  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  3618. 00002420  4FEF FFC6                lea.l      A7, [A7 - 0x3A]
  3619. 00002424  286F 004E                movea.l    A4, [A7 + 0x4E]
  3620. 00002428  246F 0052                movea.l    A2, [A7 + 0x52]
  3621. 0000242C  7600                     moveq.l    D3, 0x00
  3622. 0000242E  41ED 9EDE                lea.l      A0, [A5 - 0x6122]
  3623. 00002432  43D7                     lea.l      A1, [A7]
  3624. 00002434  700D                     moveq.l    D0, 0x0D
  3625. label00002436:
  3626. 00002436  22D8                     move.l     [A1]+, [A0]+
  3627. 00002438  51C8 FFFC                dbf        D0, -0x6 /* 00002436 */
  3628. 0000243C  32D8                     move.w     [A1]+, [A0]+
  3629. 0000243E  2F0C                     move.l     -[A7], A4
  3630. 00002440  4EAD ED80                jsr        [A5 - 0x1280]
  3631. 00002444  2648                     movea.l    A3, A0
  3632. 00002446  4AAB 02EC                tst.l      [A3 + 0x2EC]
  3633. 0000244A  584F                     addq.w     A7, 4
  3634. 0000244C  6726                     beq        +0x28 /* 00002474 */
  3635. 0000244E  2EAB 030C                move.l     [A7], [A3 + 0x30C]
  3636. 00002452  3F52 0008                move.w     [A7 + 0x8], [A2]
  3637. 00002456  2F6A 0002 000A           move.l     [A7 + 0xA], [A2 + 0x2]
  3638. 0000245C  2F6A 0006 000E           move.l     [A7 + 0xE], [A2 + 0x6]
  3639. 00002462  2F6A 000A 0012           move.l     [A7 + 0x12], [A2 + 0xA]
  3640. 00002468  4857                     pea.l      [A7]
  3641. 0000246A  206B 02EC                movea.l    A0, [A3 + 0x2EC]
  3642. 0000246E  4E90                     jsr        [A0]
  3643. 00002470  3600                     move.w     D3, D0
  3644. 00002472  584F                     addq.w     A7, 4
  3645. label00002474:
  3646. 00002474  256F 0016 000E           move.l     [A2 + 0xE], [A7 + 0x16]
  3647. 0000247A  256F 001A 0012           move.l     [A2 + 0x12], [A7 + 0x1A]
  3648. 00002480  256F 001E 0016           move.l     [A2 + 0x16], [A7 + 0x1E]
  3649. 00002486  256F 0022 001A           move.l     [A2 + 0x1A], [A7 + 0x22]
  3650. 0000248C  256F 0036 002E           move.l     [A2 + 0x2E], [A7 + 0x36]
  3651. 00002492  256F 0026 001E           move.l     [A2 + 0x1E], [A7 + 0x26]
  3652. 00002498  256F 002A 0022           move.l     [A2 + 0x22], [A7 + 0x2A]
  3653. 0000249E  256F 002E 0026           move.l     [A2 + 0x26], [A7 + 0x2E]
  3654. 000024A4  256F 0032 002A           move.l     [A2 + 0x2A], [A7 + 0x32]
  3655. 000024AA  256F 0004 0032           move.l     [A2 + 0x32], [A7 + 0x4]
  3656. 000024B0  2F0C                     move.l     -[A7], A4
  3657. 000024B2  4EAD ED88                jsr        [A5 - 0x1278]
  3658. 000024B6  3003                     move.w     D0, D3
  3659. 000024B8  4FEF 003E                lea.l      A7, [A7 + 0x3E]
  3660. 000024BC  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3661. 000024C0  4E75                     rts
  3662. 000024C2  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  3663. 000024C6  4FEF FFC6                lea.l      A7, [A7 - 0x3A]
  3664. 000024CA  286F 004E                movea.l    A4, [A7 + 0x4E]
  3665. 000024CE  266F 0052                movea.l    A3, [A7 + 0x52]
  3666. 000024D2  7600                     moveq.l    D3, 0x00
  3667. 000024D4  41ED 9EA4                lea.l      A0, [A5 - 0x615C]
  3668. 000024D8  43D7                     lea.l      A1, [A7]
  3669. 000024DA  700D                     moveq.l    D0, 0x0D
  3670. label000024DC:
  3671. 000024DC  22D8                     move.l     [A1]+, [A0]+
  3672. 000024DE  51C8 FFFC                dbf        D0, -0x6 /* 000024DC */
  3673. 000024E2  32D8                     move.w     [A1]+, [A0]+
  3674. 000024E4  2F0C                     move.l     -[A7], A4
  3675. 000024E6  4EAD ED80                jsr        [A5 - 0x1280]
  3676. 000024EA  2448                     movea.l    A2, A0
  3677. 000024EC  4AAA 02F0                tst.l      [A2 + 0x2F0]
  3678. 000024F0  584F                     addq.w     A7, 4
  3679. 000024F2  671A                     beq        +0x1C /* 0000250E */
  3680. 000024F4  2EAA 030C                move.l     [A7], [A2 + 0x30C]
  3681. 000024F8  3F53 0008                move.w     [A7 + 0x8], [A3]
  3682. 000024FC  2F6B 0032 0004           move.l     [A7 + 0x4], [A3 + 0x32]
  3683. 00002502  4857                     pea.l      [A7]
  3684. 00002504  206A 02F0                movea.l    A0, [A2 + 0x2F0]
  3685. 00002508  4E90                     jsr        [A0]
  3686. 0000250A  3600                     move.w     D3, D0
  3687. 0000250C  584F                     addq.w     A7, 4
  3688. label0000250E:
  3689. 0000250E  2F0C                     move.l     -[A7], A4
  3690. 00002510  4EAD ED88                jsr        [A5 - 0x1278]
  3691. 00002514  3003                     move.w     D0, D3
  3692. 00002516  4FEF 003E                lea.l      A7, [A7 + 0x3E]
  3693. 0000251A  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3694. 0000251E  4E75                     rts
  3695. 00002520  594F                     subq.w     A7, 4
  3696. 00002522  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3697. 00002526  4EAD ED80                jsr        [A5 - 0x1280]
  3698. 0000252A  2F48 0004                move.l     [A7 + 0x4], A0
  3699. 0000252E  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  3700. 00002532  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  3701. 00002536  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  3702. 0000253A  4EAD ED78                jsr        [A5 - 0x1288]
  3703. 0000253E  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  3704. 00002542  4EAD ED88                jsr        [A5 - 0x1278]
  3705. 00002546  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3706. 0000254A  4E75                     rts
  3707. fn0000254C:
  3708. 0000254C  2F03                     move.l     -[A7], D3
  3709. 0000254E  554F                     subq.w     A7, 2
  3710. 00002550  4257                     clr.w      [A7]
  3711. 00002552  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  3712. 00002556  4EBA 00DA                jsr        [PC + 0xDA /* 00002632 */]
  3713. 0000255A  3600                     move.w     D3, D0
  3714. 0000255C  584F                     addq.w     A7, 4
  3715. 0000255E  6708                     beq        +0xA /* 00002568 */
  3716. 00002560  3003                     move.w     D0, D3
  3717. 00002562  544F                     addq.w     A7, 2
  3718. 00002564  261F                     move.l     D3, [A7]+
  3719. 00002566  4E75                     rts
  3720. label00002568:
  3721. 00002568  3F3C 0001                move.w     -[A7], 0x1
  3722. 0000256C  4EBA 1970                jsr        [PC + 0x1970 /* 00003EDE */]
  3723. 00002570  3F3C 0001                move.w     -[A7], 0x1
  3724. 00002574  4EBA 19CE                jsr        [PC + 0x19CE /* 00003F44 */]
  3725. 00002578  486F 0004                pea.l      [A7 + 0x4]
  3726. 0000257C  4EBA 0432                jsr        [PC + 0x432 /* 000029B0 */]
  3727. 00002580  3600                     move.w     D3, D0
  3728. 00002582  4267                     clr.w      -[A7]
  3729. 00002584  4EBA 19BE                jsr        [PC + 0x19BE /* 00003F44 */]
  3730. 00002588  4267                     clr.w      -[A7]
  3731. 0000258A  4EBA 1952                jsr        [PC + 0x1952 /* 00003EDE */]
  3732. 0000258E  4A6F 000C                tst.w      [A7 + 0xC]
  3733. 00002592  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3734. 00002596  6606                     bne        +0x8 /* 0000259E */
  3735. 00002598  4A43                     tst.w      D3
  3736. 0000259A  6602                     bne        +0x4 /* 0000259E */
  3737. 0000259C  7608                     moveq.l    D3, 0x08
  3738. label0000259E:
  3739. 0000259E  3B43 A200                move.w     [A5 - 0x5E00], D3
  3740. 000025A2  3003                     move.w     D0, D3
  3741. 000025A4  544F                     addq.w     A7, 2
  3742. 000025A6  261F                     move.l     D3, [A7]+
  3743. 000025A8  4E75                     rts
  3744. 000025AA  48E7 1030                movem.l    -[A7], D3,A2,A3
  3745. 000025AE  266F 0010                movea.l    A3, [A7 + 0x10]
  3746. 000025B2  200B                     move.l     D0, A3
  3747. 000025B4  675C                     beq        +0x5E /* 00002612 */
  3748. 000025B6  4AAB 0202                tst.l      [A3 + 0x202]
  3749. 000025BA  672E                     beq        +0x30 /* 000025EA */
  3750. 000025BC  7600                     moveq.l    D3, 0x00
  3751. 000025BE  601A                     bra        +0x1C /* 000025DA */
  3752. label000025C0:
  3753. 000025C0  700C                     moveq.l    D0, 0x0C
  3754. 000025C2  C1C3                     muls.w     D0, D3
  3755. 000025C4  246B 0202                movea.l    A2, [A3 + 0x202]
  3756. 000025C8  D5C0                     add.l      A2, D0
  3757. 000025CA  4A92                     tst.l      [A2]
  3758. 000025CC  670A                     beq        +0xC /* 000025D8 */
  3759. 000025CE  2F12                     move.l     -[A7], [A2]
  3760. 000025D0  4EAD EE40                jsr        [A5 - 0x11C0]
  3761. 000025D4  95CA                     sub.l      A2, A2
  3762. 000025D6  584F                     addq.w     A7, 4
  3763. label000025D8:
  3764. 000025D8  5243                     addq.w     D3, 1
  3765. label000025DA:
  3766. 000025DA  B66B 0206                cmp.w      D3, [A3 + 0x206]
  3767. 000025DE  6DE0                     blt        -0x1E /* 000025C0 */
  3768. 000025E0  2F2B 0202                move.l     -[A7], [A3 + 0x202]
  3769. 000025E4  4EAD EE40                jsr        [A5 - 0x11C0]
  3770. 000025E8  584F                     addq.w     A7, 4
  3771. label000025EA:
  3772. 000025EA  426B 0206                clr.w      [A3 + 0x206]
  3773. 000025EE  42AB 0202                clr.l      [A3 + 0x202]
  3774. 000025F2  4AAB 0208                tst.l      [A3 + 0x208]
  3775. 000025F6  670A                     beq        +0xC /* 00002602 */
  3776. 000025F8  2F2B 0208                move.l     -[A7], [A3 + 0x208]
  3777. 000025FC  4EAD EE40                jsr        [A5 - 0x11C0]
  3778. 00002600  584F                     addq.w     A7, 4
  3779. label00002602:
  3780. 00002602  426B 020C                clr.w      [A3 + 0x20C]
  3781. 00002606  42AB 0208                clr.l      [A3 + 0x208]
  3782. 0000260A  2F0B                     move.l     -[A7], A3
  3783. 0000260C  4EBA 0798                jsr        [PC + 0x798 /* 00002DA6 */]
  3784. 00002610  584F                     addq.w     A7, 4
  3785. label00002612:
  3786. 00002612  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3787. 00002616  4E75                     rts
  3788. fn00002618:
  3789. 00002618  3B6F 0006 A1F8           move.w     [A5 - 0x5E08], [A7 + 0x6]
  3790. 0000261E  7000                     moveq.l    D0, 0x00
  3791. 00002620  4E75                     rts
  3792. fn00002622:
  3793. 00002622  2B6F 0004 A340           move.l     [A5 - 0x5CC0], [A7 + 0x4]
  3794. 00002628  4E75                     rts
  3795. fn0000262A:
  3796. 0000262A  2B6F 0004 A348           move.l     [A5 - 0x5CB8], [A7 + 0x4]
  3797. 00002630  4E75                     rts
  3798. fn00002632:
  3799. 00002632  2F03                     move.l     -[A7], D3
  3800. 00002634  554F                     subq.w     A7, 2
  3801. 00002636  7600                     moveq.l    D3, 0x00
  3802. 00002638  2B6F 000A A204           move.l     [A5 - 0x5DFC], [A7 + 0xA]
  3803. 0000263E  1B7C 0003 A1FA           move.b     [A5 - 0x5E06], 0x3
  3804. 00002644  426D A200                clr.w      [A5 - 0x5E00]
  3805. 00002648  426D A202                clr.w      [A5 - 0x5DFE]
  3806. 0000264C  2B6D A204 A1EE           move.l     [A5 - 0x5E12], [A5 - 0x5DFC]
  3807. 00002652  42A7                     clr.l      -[A7]
  3808. 00002654  2F2D A204                move.l     -[A7], [A5 - 0x5DFC]
  3809. 00002658  4EAD D958                jsr        [A5 - 0x26A8]
  3810. 0000265C  2B48 A1F2                move.l     [A5 - 0x5E0E], A0
  3811. 00002660  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3812. 00002664  42A8 0202                clr.l      [A0 + 0x202]
  3813. 00002668  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3814. 0000266C  42A8 0208                clr.l      [A0 + 0x208]
  3815. 00002670  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3816. 00002674  4268 020C                clr.w      [A0 + 0x20C]
  3817. 00002678  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3818. 0000267C  4268 0206                clr.w      [A0 + 0x206]
  3819. 00002680  426D A1F6                clr.w      [A5 - 0x5E0A]
  3820. 00002684  426D A1FC                clr.w      [A5 - 0x5E04]
  3821. 00002688  422D A1FE                clr.b      [A5 - 0x5E02]
  3822. 0000268C  426D A208                clr.w      [A5 - 0x5DF8]
  3823. 00002690  426D A20A                clr.w      [A5 - 0x5DF6]
  3824. 00002694  426D A20C                clr.w      [A5 - 0x5DF4]
  3825. 00002698  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  3826. 0000269C  70FF                     moveq.l    D0, 0xFFFFFFFF
  3827. label0000269E:
  3828. 0000269E  5280                     addq.l     D0, 1
  3829. 000026A0  4A18                     tst.b      [A0]+
  3830. 000026A2  66FA                     bne        -0x4 /* 0000269E */
  3831. 000026A4  3B40 A33A                move.w     [A5 - 0x5CC6], D0
  3832. 000026A8  206F 0012                movea.l    A0, [A7 + 0x12]
  3833. 000026AC  2B68 021E A33C           move.l     [A5 - 0x5CC4], [A0 + 0x21E]
  3834. 000026B2  42AD A344                clr.l      [A5 - 0x5CBC]
  3835. 000026B6  4EBA 0682                jsr        [PC + 0x682 /* 00002D3A */]
  3836. 000026BA  3600                     move.w     D3, D0
  3837. 000026BC  504F                     addq.w     A7, 8
  3838. 000026BE  662A                     bne        +0x2C /* 000026EA */
  3839. 000026C0  42A7                     clr.l      -[A7]
  3840. 000026C2  4267                     clr.w      -[A7]
  3841. 000026C4  486F 0007                pea.l      [A7 + 0x7]
  3842. 000026C8  4EBA 011A                jsr        [PC + 0x11A /* 000027E4 */]
  3843. 000026CC  3600                     move.w     D3, D0
  3844. 000026CE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3845. 000026D2  6616                     bne        +0x18 /* 000026EA */
  3846. 000026D4  4878 0001                push.l     0x1
  3847. 000026D8  3F3C 0001                move.w     -[A7], 0x1
  3848. 000026DC  486F 0007                pea.l      [A7 + 0x7]
  3849. 000026E0  4EBA 0102                jsr        [PC + 0x102 /* 000027E4 */]
  3850. 000026E4  3600                     move.w     D3, D0
  3851. 000026E6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3852. label000026EA:
  3853. 000026EA  3003                     move.w     D0, D3
  3854. 000026EC  544F                     addq.w     A7, 2
  3855. 000026EE  261F                     move.l     D3, [A7]+
  3856. 000026F0  4E75                     rts
  3857. fn000026F2:
  3858. 000026F2  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  3859. 000026F6  286F 001C                movea.l    A4, [A7 + 0x1C]
  3860. 000026FA  362F 0024                move.w     D3, [A7 + 0x24]
  3861. 000026FE  3A2F 0026                move.w     D5, [A7 + 0x26]
  3862. 00002702  382F 0028                move.w     D4, [A7 + 0x28]
  3863. 00002706  95CA                     sub.l      A2, A2
  3864. 00002708  97CB                     sub.l      A3, A3
  3865. 0000270A  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3866. 0000270E  5268 0206                addq.w     [A0 + 0x206], 1
  3867. 00002712  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3868. 00002716  0C68 0001 0206           cmpi.w     [A0 + 0x206], 0x1
  3869. 0000271C  6624                     bne        +0x26 /* 00002742 */
  3870. 0000271E  4878 000C                push.l     0xC
  3871. 00002722  4EAD EE30                jsr        [A5 - 0x11D0]
  3872. 00002726  226D A204                movea.l    A1, [A5 - 0x5DFC]
  3873. 0000272A  2348 0202                move.l     [A1 + 0x202], A0
  3874. 0000272E  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3875. 00002732  4AA8 0202                tst.l      [A0 + 0x202]
  3876. 00002736  584F                     addq.w     A7, 4
  3877. 00002738  663A                     bne        +0x3C /* 00002774 */
  3878. 0000273A  7001                     moveq.l    D0, 0x01
  3879. 0000273C  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3880. 00002740  4E75                     rts
  3881. label00002742:
  3882. 00002742  3028 0206                move.w     D0, [A0 + 0x206]
  3883. 00002746  48C0                     ext.l      D0
  3884. 00002748  720C                     moveq.l    D1, 0x0C
  3885. 0000274A  4EAD D8F8                jsr        [A5 - 0x2708]
  3886. 0000274E  2F00                     move.l     -[A7], D0
  3887. 00002750  2F28 0202                move.l     -[A7], [A0 + 0x202]
  3888. 00002754  4EAD EE38                jsr        [A5 - 0x11C8]
  3889. 00002758  226D A204                movea.l    A1, [A5 - 0x5DFC]
  3890. 0000275C  2348 0202                move.l     [A1 + 0x202], A0
  3891. 00002760  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3892. 00002764  4AA8 0202                tst.l      [A0 + 0x202]
  3893. 00002768  504F                     addq.w     A7, 8
  3894. 0000276A  6608                     bne        +0xA /* 00002774 */
  3895. 0000276C  7001                     moveq.l    D0, 0x01
  3896. 0000276E  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3897. 00002772  4E75                     rts
  3898. label00002774:
  3899. 00002774  3003                     move.w     D0, D3
  3900. 00002776  48C0                     ext.l      D0
  3901. 00002778  5480                     addq.l     D0, 2
  3902. 0000277A  2F00                     move.l     -[A7], D0
  3903. 0000277C  4EAD EE30                jsr        [A5 - 0x11D0]
  3904. 00002780  2448                     movea.l    A2, A0
  3905. 00002782  2008                     move.l     D0, A0
  3906. 00002784  584F                     addq.w     A7, 4
  3907. 00002786  6608                     bne        +0xA /* 00002790 */
  3908. 00002788  7001                     moveq.l    D0, 0x01
  3909. 0000278A  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3910. 0000278E  4E75                     rts
  3911. label00002790:
  3912. 00002790  1485                     move.b     [A2], D5
  3913. 00002792  1544 0001                move.b     [A2 + 0x1], D4
  3914. 00002796  3043                     movea.w    A0, D3
  3915. 00002798  2208                     move.l     D1, A0
  3916. 0000279A  41EA 0002                lea.l      A0, [A2 + 0x2]
  3917. 0000279E  226F 0020                movea.l    A1, [A7 + 0x20]
  3918. 000027A2  2008                     move.l     D0, A0
  3919. 000027A4  4A81                     tst.l      D1
  3920. 000027A6  6706                     beq        +0x8 /* 000027AE */
  3921. label000027A8:
  3922. 000027A8  10D9                     move.b     [A0]+, [A1]+
  3923. 000027AA  5381                     subq.l     D1, 1
  3924. 000027AC  66FA                     bne        -0x4 /* 000027A8 */
  3925. label000027AE:
  3926. 000027AE  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3927. 000027B2  3028 0206                move.w     D0, [A0 + 0x206]
  3928. 000027B6  48C0                     ext.l      D0
  3929. 000027B8  5380                     subq.l     D0, 1
  3930. 000027BA  1880                     move.b     [A4], D0
  3931. 000027BC  1014                     move.b     D0, [A4]
  3932. 000027BE  4880                     ext.w      D0
  3933. 000027C0  C1FC 000C                muls.w     D0, 0xC
  3934. 000027C4  266D A204                movea.l    A3, [A5 - 0x5DFC]
  3935. 000027C8  266B 0202                movea.l    A3, [A3 + 0x202]
  3936. 000027CC  D7C0                     add.l      A3, D0
  3937. 000027CE  268A                     move.l     [A3], A2
  3938. 000027D0  3743 0004                move.w     [A3 + 0x4], D3
  3939. 000027D4  3745 0006                move.w     [A3 + 0x6], D5
  3940. 000027D8  3744 0008                move.w     [A3 + 0x8], D4
  3941. 000027DC  7000                     moveq.l    D0, 0x00
  3942. 000027DE  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3943. 000027E2  4E75                     rts
  3944. fn000027E4:
  3945. 000027E4  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  3946. 000027E8  266F 001C                movea.l    A3, [A7 + 0x1C]
  3947. 000027EC  3A2F 0020                move.w     D5, [A7 + 0x20]
  3948. 000027F0  282F 0022                move.l     D4, [A7 + 0x22]
  3949. 000027F4  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3950. 000027F8  4A68 020C                tst.w      [A0 + 0x20C]
  3951. 000027FC  6656                     bne        +0x58 /* 00002854 */
  3952. 000027FE  5268 020C                addq.w     [A0 + 0x20C], 1
  3953. 00002802  4878 0006                push.l     0x6
  3954. 00002806  4EAD EE30                jsr        [A5 - 0x11D0]
  3955. 0000280A  226D A204                movea.l    A1, [A5 - 0x5DFC]
  3956. 0000280E  2348 0208                move.l     [A1 + 0x208], A0
  3957. 00002812  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3958. 00002816  4AA8 0208                tst.l      [A0 + 0x208]
  3959. 0000281A  584F                     addq.w     A7, 4
  3960. 0000281C  6608                     bne        +0xA /* 00002826 */
  3961. 0000281E  7001                     moveq.l    D0, 0x01
  3962. 00002820  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3963. 00002824  4E75                     rts
  3964. label00002826:
  3965. 00002826  4213                     clr.b      [A3]
  3966. 00002828  1013                     move.b     D0, [A3]
  3967. 0000282A  4880                     ext.w      D0
  3968. 0000282C  C1FC 0006                muls.w     D0, 0x6
  3969. 00002830  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3970. 00002834  2268 0208                movea.l    A1, [A0 + 0x208]
  3971. 00002838  1385 0800                move.b     [A1 + D0], D5
  3972. 0000283C  1013                     move.b     D0, [A3]
  3973. 0000283E  4880                     ext.w      D0
  3974. 00002840  C1FC 0006                muls.w     D0, 0x6
  3975. 00002844  206D A204                movea.l    A0, [A5 - 0x5DFC]
  3976. 00002848  2268 0208                movea.l    A1, [A0 + 0x208]
  3977. 0000284C  2384 0802                move.l     [A1 + D0 + 0x2], D4
  3978. 00002850  6000 00A6                bra        +0xA8 /* 000028F8 */
  3979. label00002854:
  3980. 00002854  2468 0208                movea.l    A2, [A0 + 0x208]
  3981. 00002858  7600                     moveq.l    D3, 0x00
  3982. 0000285A  601C                     bra        +0x1E /* 00002878 */
  3983. label0000285C:
  3984. 0000285C  3005                     move.w     D0, D5
  3985. 0000285E  48C0                     ext.l      D0
  3986. 00002860  1212                     move.b     D1, [A2]
  3987. 00002862  4881                     ext.w      D1
  3988. 00002864  48C1                     ext.l      D1
  3989. 00002866  B280                     cmp.l      D1, D0
  3990. 00002868  660A                     bne        +0xC /* 00002874 */
  3991. 0000286A  B8AA 0002                cmp.l      D4, [A2 + 0x2]
  3992. 0000286E  6604                     bne        +0x6 /* 00002874 */
  3993. 00002870  1683                     move.b     [A3], D3
  3994. 00002872  600E                     bra        +0x10 /* 00002882 */
  3995. label00002874:
  3996. 00002874  5243                     addq.w     D3, 1
  3997. 00002876  5C8A                     addq.l     A2, 6
  3998. label00002878:
  3999. 00002878  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4000. 0000287C  B668 020C                cmp.w      D3, [A0 + 0x20C]
  4001. 00002880  6DDA                     blt        -0x24 /* 0000285C */
  4002. label00002882:
  4003. 00002882  286D A204                movea.l    A4, [A5 - 0x5DFC]
  4004. 00002886  49EC 020C                lea.l      A4, [A4 + 0x20C]
  4005. 0000288A  B654                     cmp.w      D3, [A4]
  4006. 0000288C  666A                     bne        +0x6C /* 000028F8 */
  4007. 0000288E  5254                     addq.w     [A4], 1
  4008. 00002890  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4009. 00002894  3028 020C                move.w     D0, [A0 + 0x20C]
  4010. 00002898  48C0                     ext.l      D0
  4011. 0000289A  7206                     moveq.l    D1, 0x06
  4012. 0000289C  4EAD D8F8                jsr        [A5 - 0x2708]
  4013. 000028A0  2F00                     move.l     -[A7], D0
  4014. 000028A2  2F28 0208                move.l     -[A7], [A0 + 0x208]
  4015. 000028A6  4EAD EE38                jsr        [A5 - 0x11C8]
  4016. 000028AA  226D A204                movea.l    A1, [A5 - 0x5DFC]
  4017. 000028AE  2348 0208                move.l     [A1 + 0x208], A0
  4018. 000028B2  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4019. 000028B6  4AA8 0208                tst.l      [A0 + 0x208]
  4020. 000028BA  504F                     addq.w     A7, 8
  4021. 000028BC  6608                     bne        +0xA /* 000028C6 */
  4022. 000028BE  7001                     moveq.l    D0, 0x01
  4023. 000028C0  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4024. 000028C4  4E75                     rts
  4025. label000028C6:
  4026. 000028C6  3028 020C                move.w     D0, [A0 + 0x20C]
  4027. 000028CA  48C0                     ext.l      D0
  4028. 000028CC  5380                     subq.l     D0, 1
  4029. 000028CE  1680                     move.b     [A3], D0
  4030. 000028D0  1013                     move.b     D0, [A3]
  4031. 000028D2  4880                     ext.w      D0
  4032. 000028D4  C1FC 0006                muls.w     D0, 0x6
  4033. 000028D8  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4034. 000028DC  2268 0208                movea.l    A1, [A0 + 0x208]
  4035. 000028E0  1385 0800                move.b     [A1 + D0], D5
  4036. 000028E4  1013                     move.b     D0, [A3]
  4037. 000028E6  4880                     ext.w      D0
  4038. 000028E8  C1FC 0006                muls.w     D0, 0x6
  4039. 000028EC  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4040. 000028F0  2268 0208                movea.l    A1, [A0 + 0x208]
  4041. 000028F4  2384 0802                move.l     [A1 + D0 + 0x2], D4
  4042. label000028F8:
  4043. 000028F8  7000                     moveq.l    D0, 0x00
  4044. 000028FA  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4045. 000028FE  4E75                     rts
  4046. fn00002900:
  4047. 00002900  2F04                     move.l     -[A7], D4
  4048. 00002902  382F 000E                move.w     D4, [A7 + 0xE]
  4049. 00002906  342F 0010                move.w     D2, [A7 + 0x10]
  4050. 0000290A  226D A204                movea.l    A1, [A5 - 0x5DFC]
  4051. 0000290E  43E9 020E                lea.l      A1, [A1 + 0x20E]
  4052. 00002912  3029 000C                move.w     D0, [A1 + 0xC]
  4053. 00002916  5269 000C                addq.w     [A1 + 0xC], 1
  4054. 0000291A  2069 0008                movea.l    A0, [A1 + 0x8]
  4055. 0000291E  11AF 0009 0000           move.b     [A0 + D0.w], [A7 + 0x9]
  4056. 00002924  302F 000A                move.w     D0, [A7 + 0xA]
  4057. 00002928  48C0                     ext.l      D0
  4058. 0000292A  5280                     addq.l     D0, 1
  4059. 0000292C  3229 000C                move.w     D1, [A1 + 0xC]
  4060. 00002930  5269 000C                addq.w     [A1 + 0xC], 1
  4061. 00002934  2069 0008                movea.l    A0, [A1 + 0x8]
  4062. 00002938  1180 1000                move.b     [A0 + D1.w], D0
  4063. 0000293C  4A6F 000C                tst.w      [A7 + 0xC]
  4064. 00002940  6714                     beq        +0x16 /* 00002956 */
  4065. 00002942  3029 000C                move.w     D0, [A1 + 0xC]
  4066. 00002946  5269 000C                addq.w     [A1 + 0xC], 1
  4067. 0000294A  2069 0008                movea.l    A0, [A1 + 0x8]
  4068. 0000294E  11BC 0002 0000           move.b     [A0 + D0.w], 0x2
  4069. 00002954  6012                     bra        +0x14 /* 00002968 */
  4070. label00002956:
  4071. 00002956  3029 000C                move.w     D0, [A1 + 0xC]
  4072. 0000295A  5269 000C                addq.w     [A1 + 0xC], 1
  4073. 0000295E  2069 0008                movea.l    A0, [A1 + 0x8]
  4074. 00002962  11BC 0001 0000           move.b     [A0 + D0.w], 0x1
  4075. label00002968:
  4076. 00002968  3029 000C                move.w     D0, [A1 + 0xC]
  4077. 0000296C  5269 000C                addq.w     [A1 + 0xC], 1
  4078. 00002970  2069 0008                movea.l    A0, [A1 + 0x8]
  4079. 00002974  1184 0000                move.b     [A0 + D0.w], D4
  4080. 00002978  0C44 0001                cmpi.w     D4, 0x1
  4081. 0000297C  6712                     beq        +0x14 /* 00002990 */
  4082. 0000297E  3029 000C                move.w     D0, [A1 + 0xC]
  4083. 00002982  5269 000C                addq.w     [A1 + 0xC], 1
  4084. 00002986  2069 0008                movea.l    A0, [A1 + 0x8]
  4085. 0000298A  1182 0000                move.b     [A0 + D0.w], D2
  4086. 0000298E  6016                     bra        +0x18 /* 000029A6 */
  4087. label00002990:
  4088. 00002990  3002                     move.w     D0, D2
  4089. 00002992  48C0                     ext.l      D0
  4090. 00002994  5280                     addq.l     D0, 1
  4091. 00002996  3229 000C                move.w     D1, [A1 + 0xC]
  4092. 0000299A  5269 000C                addq.w     [A1 + 0xC], 1
  4093. 0000299E  2069 0008                movea.l    A0, [A1 + 0x8]
  4094. 000029A2  1180 1000                move.b     [A0 + D1.w], D0
  4095. label000029A6:
  4096. 000029A6  5469 000C                addq.w     [A1 + 0xC], 2
  4097. 000029AA  7000                     moveq.l    D0, 0x00
  4098. 000029AC  281F                     move.l     D4, [A7]+
  4099. 000029AE  4E75                     rts
  4100. fn000029B0:
  4101. 000029B0  2F03                     move.l     -[A7], D3
  4102. 000029B2  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4103. 000029B6  4EBA 002C                jsr        [PC + 0x2C /* 000029E4 */]
  4104. 000029BA  3600                     move.w     D3, D0
  4105. 000029BC  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4106. 000029C0  91ED A204                sub.l      A0, [A5 - 0x5DFC]
  4107. 000029C4  2008                     move.l     D0, A0
  4108. 000029C6  3B40 A208                move.w     [A5 - 0x5DF8], D0
  4109. 000029CA  4A43                     tst.w      D3
  4110. 000029CC  584F                     addq.w     A7, 4
  4111. 000029CE  660E                     bne        +0x10 /* 000029DE */
  4112. 000029D0  206F 0008                movea.l    A0, [A7 + 0x8]
  4113. 000029D4  3F10                     move.w     -[A7], [A0]
  4114. 000029D6  4EBA 1168                jsr        [PC + 0x1168 /* 00003B40 */]
  4115. 000029DA  3600                     move.w     D3, D0
  4116. 000029DC  544F                     addq.w     A7, 2
  4117. label000029DE:
  4118. 000029DE  3003                     move.w     D0, D3
  4119. 000029E0  261F                     move.l     D3, [A7]+
  4120. 000029E2  4E75                     rts
  4121. fn000029E4:
  4122. 000029E4  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4123. 000029E8  594F                     subq.w     A7, 4
  4124. 000029EA  266F 0018                movea.l    A3, [A7 + 0x18]
  4125. 000029EE  246D A204                movea.l    A2, [A5 - 0x5DFC]
  4126. 000029F2  45EA 020E                lea.l      A2, [A2 + 0x20E]
  4127. 000029F6  7600                     moveq.l    D3, 0x00
  4128. 000029F8  426F 0002                clr.w      [A7 + 0x2]
  4129. 000029FC  4253                     clr.w      [A3]
  4130. 000029FE  4EBA 07CA                jsr        [PC + 0x7CA /* 000031CA */]
  4131. 00002A02  6018                     bra        +0x1A /* 00002A1C */
  4132. label00002A04:
  4133. 00002A04  486F 0002                pea.l      [A7 + 0x2]
  4134. 00002A08  4EBA 0130                jsr        [PC + 0x130 /* 00002B3A */]
  4135. 00002A0C  3600                     move.w     D3, D0
  4136. 00002A0E  584F                     addq.w     A7, 4
  4137. 00002A10  670A                     beq        +0xC /* 00002A1C */
  4138. 00002A12  3003                     move.w     D0, D3
  4139. 00002A14  584F                     addq.w     A7, 4
  4140. 00002A16  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4141. 00002A1A  4E75                     rts
  4142. label00002A1C:
  4143. 00002A1C  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4144. 00002A20  4A10                     tst.b      [A0]
  4145. 00002A22  670A                     beq        +0xC /* 00002A2E */
  4146. 00002A24  4A6F 0002                tst.w      [A7 + 0x2]
  4147. 00002A28  6604                     bne        +0x6 /* 00002A2E */
  4148. 00002A2A  4A43                     tst.w      D3
  4149. 00002A2C  67D6                     beq        -0x28 /* 00002A04 */
  4150. label00002A2E:
  4151. 00002A2E  302F 0002                move.w     D0, [A7 + 0x2]
  4152. 00002A32  D153                     add.w      [A3], D0
  4153. 00002A34  6000 00EC                bra        +0xEE /* 00002B22 */
  4154. label00002A38:
  4155. 00002A38  7800                     moveq.l    D4, 0x00
  4156. 00002A3A  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4157. 00002A3E  0C10 0029                cmpi.b     [A0], 0x29 /* ')' */
  4158. 00002A42  6700 00EC                beq        +0xEE /* 00002B30 */
  4159. 00002A46  4857                     pea.l      [A7]
  4160. 00002A48  3F3C 0001                move.w     -[A7], 0x1
  4161. 00002A4C  4EBA 13A0                jsr        [PC + 0x13A0 /* 00003DEE */]
  4162. 00002A50  4A40                     tst.w      D0
  4163. 00002A52  5C4F                     addq.w     A7, 6
  4164. 00002A54  6756                     beq        +0x58 /* 00002AAC */
  4165. 00002A56  7801                     moveq.l    D4, 0x01
  4166. 00002A58  3057                     movea.w    A0, [A7]
  4167. 00002A5A  2008                     move.l     D0, A0
  4168. 00002A5C  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  4169. 00002A60  4EBA 0EC4                jsr        [PC + 0xEC4 /* 00003926 */]
  4170. label00002A64:
  4171. 00002A64  1B7C 0002 A1FA           move.b     [A5 - 0x5E06], 0x2
  4172. 00002A6A  4EBA 075E                jsr        [PC + 0x75E /* 000031CA */]
  4173. 00002A6E  206A 0008                movea.l    A0, [A2 + 0x8]
  4174. 00002A72  302A 000C                move.w     D0, [A2 + 0xC]
  4175. 00002A76  11BC 0002 00FE           move.b     [A0 + D0.w - 0x2], 0x2
  4176. 00002A7C  206A 0008                movea.l    A0, [A2 + 0x8]
  4177. 00002A80  302A 000C                move.w     D0, [A2 + 0xC]
  4178. 00002A84  11BC 0001 00FF           move.b     [A0 + D0.w - 0x1], 0x1
  4179. 00002A8A  486F 0002                pea.l      [A7 + 0x2]
  4180. 00002A8E  4EBA 00AA                jsr        [PC + 0xAA /* 00002B3A */]
  4181. 00002A92  3600                     move.w     D3, D0
  4182. 00002A94  4A44                     tst.w      D4
  4183. 00002A96  584F                     addq.w     A7, 4
  4184. 00002A98  6700 0082                beq        +0x84 /* 00002B1C */
  4185. 00002A9C  4A6F 0002                tst.w      [A7 + 0x2]
  4186. 00002AA0  667A                     bne        +0x7C /* 00002B1C */
  4187. 00002AA2  701A                     moveq.l    D0, 0x1A
  4188. 00002AA4  584F                     addq.w     A7, 4
  4189. 00002AA6  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4190. 00002AAA  4E75                     rts
  4191. label00002AAC:
  4192. 00002AAC  4857                     pea.l      [A7]
  4193. 00002AAE  4267                     clr.w      -[A7]
  4194. 00002AB0  4EBA 133C                jsr        [PC + 0x133C /* 00003DEE */]
  4195. 00002AB4  4A40                     tst.w      D0
  4196. 00002AB6  5C4F                     addq.w     A7, 6
  4197. 00002AB8  6756                     beq        +0x58 /* 00002B10 */
  4198. 00002ABA  7801                     moveq.l    D4, 0x01
  4199. 00002ABC  3057                     movea.w    A0, [A7]
  4200. 00002ABE  2008                     move.l     D0, A0
  4201. 00002AC0  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  4202. 00002AC4  4EBA 0E60                jsr        [PC + 0xE60 /* 00003926 */]
  4203. label00002AC8:
  4204. 00002AC8  1B7C 0001 A1FA           move.b     [A5 - 0x5E06], 0x1
  4205. 00002ACE  526D A1FC                addq.w     [A5 - 0x5E04], 1
  4206. 00002AD2  206A 0008                movea.l    A0, [A2 + 0x8]
  4207. 00002AD6  302A 000C                move.w     D0, [A2 + 0xC]
  4208. 00002ADA  11BC 0002 00FE           move.b     [A0 + D0.w - 0x2], 0x2
  4209. 00002AE0  4EBA 06E8                jsr        [PC + 0x6E8 /* 000031CA */]
  4210. 00002AE4  4A40                     tst.w      D0
  4211. 00002AE6  6608                     bne        +0xA /* 00002AF0 */
  4212. 00002AE8  4EBA 0740                jsr        [PC + 0x740 /* 0000322A */]
  4213. 00002AEC  3600                     move.w     D3, D0
  4214. 00002AEE  6640                     bne        +0x42 /* 00002B30 */
  4215. label00002AF0:
  4216. 00002AF0  486F 0002                pea.l      [A7 + 0x2]
  4217. 00002AF4  4EBA 0044                jsr        [PC + 0x44 /* 00002B3A */]
  4218. 00002AF8  3600                     move.w     D3, D0
  4219. 00002AFA  4A44                     tst.w      D4
  4220. 00002AFC  584F                     addq.w     A7, 4
  4221. 00002AFE  671C                     beq        +0x1E /* 00002B1C */
  4222. 00002B00  4A6F 0002                tst.w      [A7 + 0x2]
  4223. 00002B04  6616                     bne        +0x18 /* 00002B1C */
  4224. 00002B06  701A                     moveq.l    D0, 0x1A
  4225. 00002B08  584F                     addq.w     A7, 4
  4226. 00002B0A  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4227. 00002B0E  4E75                     rts
  4228. label00002B10:
  4229. 00002B10  0C2D 0002 A1FB           cmpi.b     [A5 - 0x5E05], 0x2
  4230. 00002B16  66B0                     bne        -0x4E /* 00002AC8 */
  4231. 00002B18  6000 FF4A                bra        -0xB4 /* 00002A64 */
  4232. label00002B1C:
  4233. 00002B1C  302F 0002                move.w     D0, [A7 + 0x2]
  4234. 00002B20  D153                     add.w      [A3], D0
  4235. label00002B22:
  4236. 00002B22  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4237. 00002B26  4A10                     tst.b      [A0]
  4238. 00002B28  6706                     beq        +0x8 /* 00002B30 */
  4239. 00002B2A  4A43                     tst.w      D3
  4240. 00002B2C  6700 FF0A                beq        -0xF4 /* 00002A38 */
  4241. label00002B30:
  4242. 00002B30  3003                     move.w     D0, D3
  4243. 00002B32  584F                     addq.w     A7, 4
  4244. 00002B34  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4245. 00002B38  4E75                     rts
  4246. fn00002B3A:
  4247. 00002B3A  48E7 1020                movem.l    -[A7], D3,A2
  4248. 00002B3E  246F 000C                movea.l    A2, [A7 + 0xC]
  4249. 00002B42  486D A20C                pea.l      [A5 - 0x5DF4]
  4250. 00002B46  486D A20A                pea.l      [A5 - 0x5DF6]
  4251. 00002B4A  4EBA 056C                jsr        [PC + 0x56C /* 000030B8 */]
  4252. 00002B4E  3600                     move.w     D3, D0
  4253. 00002B50  504F                     addq.w     A7, 8
  4254. 00002B52  661C                     bne        +0x1E /* 00002B70 */
  4255. 00002B54  2F0A                     move.l     -[A7], A2
  4256. 00002B56  4EBA 0020                jsr        [PC + 0x20 /* 00002B78 */]
  4257. 00002B5A  3600                     move.w     D3, D0
  4258. 00002B5C  584F                     addq.w     A7, 4
  4259. 00002B5E  6610                     bne        +0x12 /* 00002B70 */
  4260. 00002B60  486D A20C                pea.l      [A5 - 0x5DF4]
  4261. 00002B64  486D A20A                pea.l      [A5 - 0x5DF6]
  4262. 00002B68  4EBA 054E                jsr        [PC + 0x54E /* 000030B8 */]
  4263. 00002B6C  3600                     move.w     D3, D0
  4264. 00002B6E  504F                     addq.w     A7, 8
  4265. label00002B70:
  4266. 00002B70  3003                     move.w     D0, D3
  4267. 00002B72  4CDF 0408                movem.l    D3,A2, [A7]+
  4268. 00002B76  4E75                     rts
  4269. fn00002B78:
  4270. 00002B78  48E7 1820                movem.l    -[A7], D3,D4,A2
  4271. 00002B7C  554F                     subq.w     A7, 2
  4272. 00002B7E  246F 0012                movea.l    A2, [A7 + 0x12]
  4273. 00002B82  7600                     moveq.l    D3, 0x00
  4274. 00002B84  7800                     moveq.l    D4, 0x00
  4275. 00002B86  4252                     clr.w      [A2]
  4276. 00002B88  6000 0190                bra        +0x192 /* 00002D1A */
  4277. label00002B8C:
  4278. 00002B8C  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4279. 00002B90  1F10                     move.b     -[A7], [A0]
  4280. 00002B92  4EBA 13EE                jsr        [PC + 0x13EE /* 00003F82 */]
  4281. 00002B96  4A40                     tst.w      D0
  4282. 00002B98  544F                     addq.w     A7, 2
  4283. 00002B9A  670A                     beq        +0xC /* 00002BA6 */
  4284. 00002B9C  700F                     moveq.l    D0, 0x0F
  4285. 00002B9E  544F                     addq.w     A7, 2
  4286. 00002BA0  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4287. 00002BA4  4E75                     rts
  4288. label00002BA6:
  4289. 00002BA6  4A44                     tst.w      D4
  4290. 00002BA8  677C                     beq        +0x7E /* 00002C26 */
  4291. 00002BAA  4857                     pea.l      [A7]
  4292. 00002BAC  4267                     clr.w      -[A7]
  4293. 00002BAE  4EBA 123E                jsr        [PC + 0x123E /* 00003DEE */]
  4294. 00002BB2  4A40                     tst.w      D0
  4295. 00002BB4  5C4F                     addq.w     A7, 6
  4296. 00002BB6  6648                     bne        +0x4A /* 00002C00 */
  4297. 00002BB8  4857                     pea.l      [A7]
  4298. 00002BBA  3F3C 0001                move.w     -[A7], 0x1
  4299. 00002BBE  4EBA 122E                jsr        [PC + 0x122E /* 00003DEE */]
  4300. 00002BC2  4A40                     tst.w      D0
  4301. 00002BC4  5C4F                     addq.w     A7, 6
  4302. 00002BC6  6638                     bne        +0x3A /* 00002C00 */
  4303. 00002BC8  4857                     pea.l      [A7]
  4304. 00002BCA  3F3C 0002                move.w     -[A7], 0x2
  4305. 00002BCE  4EBA 121E                jsr        [PC + 0x121E /* 00003DEE */]
  4306. 00002BD2  4A40                     tst.w      D0
  4307. 00002BD4  5C4F                     addq.w     A7, 6
  4308. 00002BD6  6628                     bne        +0x2A /* 00002C00 */
  4309. 00002BD8  4857                     pea.l      [A7]
  4310. 00002BDA  3F3C 0003                move.w     -[A7], 0x3
  4311. 00002BDE  4EBA 120E                jsr        [PC + 0x120E /* 00003DEE */]
  4312. 00002BE2  4A40                     tst.w      D0
  4313. 00002BE4  5C4F                     addq.w     A7, 6
  4314. 00002BE6  6618                     bne        +0x1A /* 00002C00 */
  4315. 00002BE8  4857                     pea.l      [A7]
  4316. 00002BEA  4EBA 0D58                jsr        [PC + 0xD58 /* 00003944 */]
  4317. 00002BEE  4A40                     tst.w      D0
  4318. 00002BF0  584F                     addq.w     A7, 4
  4319. 00002BF2  660C                     bne        +0xE /* 00002C00 */
  4320. 00002BF4  4857                     pea.l      [A7]
  4321. 00002BF6  4EBA 0DAC                jsr        [PC + 0xDAC /* 000039A4 */]
  4322. 00002BFA  4A40                     tst.w      D0
  4323. 00002BFC  584F                     addq.w     A7, 4
  4324. 00002BFE  670A                     beq        +0xC /* 00002C0A */
  4325. label00002C00:
  4326. 00002C00  7000                     moveq.l    D0, 0x00
  4327. 00002C02  544F                     addq.w     A7, 2
  4328. 00002C04  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4329. 00002C08  4E75                     rts
  4330. label00002C0A:
  4331. 00002C0A  4857                     pea.l      [A7]
  4332. 00002C0C  3F3C 0004                move.w     -[A7], 0x4
  4333. 00002C10  4EBA 11DC                jsr        [PC + 0x11DC /* 00003DEE */]
  4334. 00002C14  4A40                     tst.w      D0
  4335. 00002C16  5C4F                     addq.w     A7, 6
  4336. 00002C18  6700 0086                beq        +0x88 /* 00002CA0 */
  4337. 00002C1C  7017                     moveq.l    D0, 0x17
  4338. 00002C1E  544F                     addq.w     A7, 2
  4339. 00002C20  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4340. 00002C24  4E75                     rts
  4341. label00002C26:
  4342. 00002C26  4857                     pea.l      [A7]
  4343. 00002C28  4267                     clr.w      -[A7]
  4344. 00002C2A  4EBA 11C2                jsr        [PC + 0x11C2 /* 00003DEE */]
  4345. 00002C2E  4A40                     tst.w      D0
  4346. 00002C30  5C4F                     addq.w     A7, 6
  4347. 00002C32  6610                     bne        +0x12 /* 00002C44 */
  4348. 00002C34  4857                     pea.l      [A7]
  4349. 00002C36  3F3C 0001                move.w     -[A7], 0x1
  4350. 00002C3A  4EBA 11B2                jsr        [PC + 0x11B2 /* 00003DEE */]
  4351. 00002C3E  4A40                     tst.w      D0
  4352. 00002C40  5C4F                     addq.w     A7, 6
  4353. 00002C42  670A                     beq        +0xC /* 00002C4E */
  4354. label00002C44:
  4355. 00002C44  701A                     moveq.l    D0, 0x1A
  4356. 00002C46  544F                     addq.w     A7, 2
  4357. 00002C48  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4358. 00002C4C  4E75                     rts
  4359. label00002C4E:
  4360. 00002C4E  4857                     pea.l      [A7]
  4361. 00002C50  3F3C 0002                move.w     -[A7], 0x2
  4362. 00002C54  4EBA 1198                jsr        [PC + 0x1198 /* 00003DEE */]
  4363. 00002C58  4A40                     tst.w      D0
  4364. 00002C5A  5C4F                     addq.w     A7, 6
  4365. 00002C5C  6638                     bne        +0x3A /* 00002C96 */
  4366. 00002C5E  4857                     pea.l      [A7]
  4367. 00002C60  3F3C 0003                move.w     -[A7], 0x3
  4368. 00002C64  4EBA 1188                jsr        [PC + 0x1188 /* 00003DEE */]
  4369. 00002C68  4A40                     tst.w      D0
  4370. 00002C6A  5C4F                     addq.w     A7, 6
  4371. 00002C6C  6628                     bne        +0x2A /* 00002C96 */
  4372. 00002C6E  4857                     pea.l      [A7]
  4373. 00002C70  3F3C 0004                move.w     -[A7], 0x4
  4374. 00002C74  4EBA 1178                jsr        [PC + 0x1178 /* 00003DEE */]
  4375. 00002C78  4A40                     tst.w      D0
  4376. 00002C7A  5C4F                     addq.w     A7, 6
  4377. 00002C7C  6618                     bne        +0x1A /* 00002C96 */
  4378. 00002C7E  4857                     pea.l      [A7]
  4379. 00002C80  4EBA 0CC2                jsr        [PC + 0xCC2 /* 00003944 */]
  4380. 00002C84  4A40                     tst.w      D0
  4381. 00002C86  584F                     addq.w     A7, 4
  4382. 00002C88  660C                     bne        +0xE /* 00002C96 */
  4383. 00002C8A  4857                     pea.l      [A7]
  4384. 00002C8C  4EBA 0D16                jsr        [PC + 0xD16 /* 000039A4 */]
  4385. 00002C90  4A40                     tst.w      D0
  4386. 00002C92  584F                     addq.w     A7, 4
  4387. 00002C94  670A                     beq        +0xC /* 00002CA0 */
  4388. label00002C96:
  4389. 00002C96  700B                     moveq.l    D0, 0x0B
  4390. 00002C98  544F                     addq.w     A7, 2
  4391. 00002C9A  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4392. 00002C9E  4E75                     rts
  4393. label00002CA0:
  4394. 00002CA0  4857                     pea.l      [A7]
  4395. 00002CA2  2F2D A1EE                move.l     -[A7], [A5 - 0x5E12]
  4396. 00002CA6  4EBA 0F12                jsr        [PC + 0xF12 /* 00003BBA */]
  4397. 00002CAA  4A40                     tst.w      D0
  4398. 00002CAC  504F                     addq.w     A7, 8
  4399. 00002CAE  670A                     beq        +0xC /* 00002CBA */
  4400. 00002CB0  700B                     moveq.l    D0, 0x0B
  4401. 00002CB2  544F                     addq.w     A7, 2
  4402. 00002CB4  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4403. 00002CB8  4E75                     rts
  4404. label00002CBA:
  4405. 00002CBA  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4406. 00002CBE  0C10 0029                cmpi.b     [A0], 0x29 /* ')' */
  4407. 00002CC2  660A                     bne        +0xC /* 00002CCE */
  4408. 00002CC4  700B                     moveq.l    D0, 0x0B
  4409. 00002CC6  544F                     addq.w     A7, 2
  4410. 00002CC8  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4411. 00002CCC  4E75                     rts
  4412. label00002CCE:
  4413. 00002CCE  0C10 0028                cmpi.b     [A0], 0x28 /* '(' */
  4414. 00002CD2  6616                     bne        +0x18 /* 00002CEA */
  4415. 00002CD4  2F0A                     move.l     -[A7], A2
  4416. 00002CD6  4EBA 05A6                jsr        [PC + 0x5A6 /* 0000327E */]
  4417. 00002CDA  3600                     move.w     D3, D0
  4418. 00002CDC  584F                     addq.w     A7, 4
  4419. 00002CDE  6730                     beq        +0x32 /* 00002D10 */
  4420. 00002CE0  3003                     move.w     D0, D3
  4421. 00002CE2  544F                     addq.w     A7, 2
  4422. 00002CE4  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4423. 00002CE8  4E75                     rts
  4424. label00002CEA:
  4425. 00002CEA  0C10 0022                cmpi.b     [A0], 0x22 /* '\"' */
  4426. 00002CEE  6616                     bne        +0x18 /* 00002D06 */
  4427. 00002CF0  2F0A                     move.l     -[A7], A2
  4428. 00002CF2  4EBA 06D2                jsr        [PC + 0x6D2 /* 000033C6 */]
  4429. 00002CF6  3600                     move.w     D3, D0
  4430. 00002CF8  584F                     addq.w     A7, 4
  4431. 00002CFA  6714                     beq        +0x16 /* 00002D10 */
  4432. 00002CFC  3003                     move.w     D0, D3
  4433. 00002CFE  544F                     addq.w     A7, 2
  4434. 00002D00  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4435. 00002D04  4E75                     rts
  4436. label00002D06:
  4437. 00002D06  2F0A                     move.l     -[A7], A2
  4438. 00002D08  4EBA 0D08                jsr        [PC + 0xD08 /* 00003A12 */]
  4439. 00002D0C  3600                     move.w     D3, D0
  4440. 00002D0E  584F                     addq.w     A7, 4
  4441. label00002D10:
  4442. 00002D10  4A52                     tst.w      [A2]
  4443. 00002D12  6602                     bne        +0x4 /* 00002D16 */
  4444. 00002D14  7801                     moveq.l    D4, 0x01
  4445. label00002D16:
  4446. 00002D16  4EBA 0C0E                jsr        [PC + 0xC0E /* 00003926 */]
  4447. label00002D1A:
  4448. 00002D1A  4A52                     tst.w      [A2]
  4449. 00002D1C  660A                     bne        +0xC /* 00002D28 */
  4450. 00002D1E  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4451. 00002D22  4A10                     tst.b      [A0]
  4452. 00002D24  6600 FE66                bne        -0x198 /* 00002B8C */
  4453. label00002D28:
  4454. 00002D28  426D A202                clr.w      [A5 - 0x5DFE]
  4455. 00002D2C  422D A1FE                clr.b      [A5 - 0x5E02]
  4456. 00002D30  3003                     move.w     D0, D3
  4457. 00002D32  544F                     addq.w     A7, 2
  4458. 00002D34  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4459. 00002D38  4E75                     rts
  4460. fn00002D3A:
  4461. 00002D3A  2F03                     move.l     -[A7], D3
  4462. 00002D3C  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4463. 00002D40  4268 020E                clr.w      [A0 + 0x20E]
  4464. 00002D44  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4465. 00002D48  317C 0014 0210           move.w     [A0 + 0x210], 0x14
  4466. 00002D4E  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4467. 00002D52  3628 0210                move.w     D3, [A0 + 0x210]
  4468. 00002D56  48C3                     ext.l      D3
  4469. 00002D58  E58B                     lsl        D3, 2
  4470. 00002D5A  3043                     movea.w    A0, D3
  4471. 00002D5C  2F08                     move.l     -[A7], A0
  4472. 00002D5E  4EAD EE30                jsr        [A5 - 0x11D0]
  4473. 00002D62  226D A204                movea.l    A1, [A5 - 0x5DFC]
  4474. 00002D66  2348 0212                move.l     [A1 + 0x212], A0
  4475. 00002D6A  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4476. 00002D6E  4AA8 0212                tst.l      [A0 + 0x212]
  4477. 00002D72  584F                     addq.w     A7, 4
  4478. 00002D74  6606                     bne        +0x8 /* 00002D7C */
  4479. 00002D76  7001                     moveq.l    D0, 0x01
  4480. 00002D78  261F                     move.l     D3, [A7]+
  4481. 00002D7A  4E75                     rts
  4482. label00002D7C:
  4483. 00002D7C  3043                     movea.w    A0, D3
  4484. 00002D7E  2F08                     move.l     -[A7], A0
  4485. 00002D80  42A7                     clr.l      -[A7]
  4486. 00002D82  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4487. 00002D86  2F28 0212                move.l     -[A7], [A0 + 0x212]
  4488. 00002D8A  4EAD D94C                jsr        [A5 - 0x26B4]
  4489. 00002D8E  4EBA 007A                jsr        [PC + 0x7A /* 00002E0A */]
  4490. 00002D92  4A40                     tst.w      D0
  4491. 00002D94  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4492. 00002D98  6706                     beq        +0x8 /* 00002DA0 */
  4493. 00002D9A  7001                     moveq.l    D0, 0x01
  4494. 00002D9C  261F                     move.l     D3, [A7]+
  4495. 00002D9E  4E75                     rts
  4496. label00002DA0:
  4497. 00002DA0  7000                     moveq.l    D0, 0x00
  4498. 00002DA2  261F                     move.l     D3, [A7]+
  4499. 00002DA4  4E75                     rts
  4500. fn00002DA6:
  4501. 00002DA6  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4502. 00002DAA  266F 0014                movea.l    A3, [A7 + 0x14]
  4503. 00002DAE  382B 020E                move.w     D4, [A3 + 0x20E]
  4504. 00002DB2  200B                     move.l     D0, A3
  4505. 00002DB4  6608                     bne        +0xA /* 00002DBE */
  4506. 00002DB6  7000                     moveq.l    D0, 0x00
  4507. 00002DB8  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4508. 00002DBC  4E75                     rts
  4509. label00002DBE:
  4510. 00002DBE  7600                     moveq.l    D3, 0x00
  4511. 00002DC0  601A                     bra        +0x1C /* 00002DDC */
  4512. label00002DC2:
  4513. 00002DC2  3443                     movea.w    A2, D3
  4514. 00002DC4  200A                     move.l     D0, A2
  4515. 00002DC6  E588                     lsl        D0, 2
  4516. 00002DC8  246B 0212                movea.l    A2, [A3 + 0x212]
  4517. 00002DCC  D5C0                     add.l      A2, D0
  4518. 00002DCE  4A92                     tst.l      [A2]
  4519. 00002DD0  6708                     beq        +0xA /* 00002DDA */
  4520. 00002DD2  2F12                     move.l     -[A7], [A2]
  4521. 00002DD4  4EAD EE40                jsr        [A5 - 0x11C0]
  4522. 00002DD8  584F                     addq.w     A7, 4
  4523. label00002DDA:
  4524. 00002DDA  5243                     addq.w     D3, 1
  4525. label00002DDC:
  4526. 00002DDC  B644                     cmp.w      D3, D4
  4527. 00002DDE  6DE2                     blt        -0x1C /* 00002DC2 */
  4528. 00002DE0  4AAB 0212                tst.l      [A3 + 0x212]
  4529. 00002DE4  670A                     beq        +0xC /* 00002DF0 */
  4530. 00002DE6  2F2B 0212                move.l     -[A7], [A3 + 0x212]
  4531. 00002DEA  4EAD EE40                jsr        [A5 - 0x11C0]
  4532. 00002DEE  584F                     addq.w     A7, 4
  4533. label00002DF0:
  4534. 00002DF0  4878 0010                push.l     0x10
  4535. 00002DF4  42A7                     clr.l      -[A7]
  4536. 00002DF6  486B 020E                pea.l      [A3 + 0x20E]
  4537. 00002DFA  4EAD D94C                jsr        [A5 - 0x26B4]
  4538. 00002DFE  7000                     moveq.l    D0, 0x00
  4539. 00002E00  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4540. 00002E04  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4541. 00002E08  4E75                     rts
  4542. fn00002E0A:
  4543. 00002E0A  48E7 1820                movem.l    -[A7], D3,D4,A2
  4544. 00002E0E  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4545. 00002E12  5268 020E                addq.w     [A0 + 0x20E], 1
  4546. 00002E16  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4547. 00002E1A  3828 0210                move.w     D4, [A0 + 0x210]
  4548. 00002E1E  48C4                     ext.l      D4
  4549. 00002E20  3028 020E                move.w     D0, [A0 + 0x20E]
  4550. 00002E24  48C0                     ext.l      D0
  4551. 00002E26  B084                     cmp.l      D0, D4
  4552. 00002E28  665C                     bne        +0x5E /* 00002E86 */
  4553. 00002E2A  2604                     move.l     D3, D4
  4554. 00002E2C  5A83                     addq.l     D3, 5
  4555. 00002E2E  E58B                     lsl        D3, 2
  4556. 00002E30  3043                     movea.w    A0, D3
  4557. 00002E32  2F08                     move.l     -[A7], A0
  4558. 00002E34  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4559. 00002E38  2F28 0212                move.l     -[A7], [A0 + 0x212]
  4560. 00002E3C  4EAD EE38                jsr        [A5 - 0x11C8]
  4561. 00002E40  226D A204                movea.l    A1, [A5 - 0x5DFC]
  4562. 00002E44  2348 0212                move.l     [A1 + 0x212], A0
  4563. 00002E48  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4564. 00002E4C  4AA8 0212                tst.l      [A0 + 0x212]
  4565. 00002E50  504F                     addq.w     A7, 8
  4566. 00002E52  6608                     bne        +0xA /* 00002E5C */
  4567. 00002E54  7001                     moveq.l    D0, 0x01
  4568. 00002E56  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4569. 00002E5A  4E75                     rts
  4570. label00002E5C:
  4571. 00002E5C  7614                     moveq.l    D3, 0x14
  4572. 00002E5E  2448                     movea.l    A2, A0
  4573. 00002E60  326A 0210                movea.w    A1, [A2 + 0x210]
  4574. 00002E64  2009                     move.l     D0, A1
  4575. 00002E66  E588                     lsl        D0, 2
  4576. 00002E68  246A 0212                movea.l    A2, [A2 + 0x212]
  4577. 00002E6C  D5C0                     add.l      A2, D0
  4578. 00002E6E  3043                     movea.w    A0, D3
  4579. 00002E70  2F08                     move.l     -[A7], A0
  4580. 00002E72  42A7                     clr.l      -[A7]
  4581. 00002E74  2F0A                     move.l     -[A7], A2
  4582. 00002E76  4EAD D94C                jsr        [A5 - 0x26B4]
  4583. 00002E7A  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4584. 00002E7E  5A68 0210                addq.w     [A0 + 0x210], 5
  4585. 00002E82  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4586. label00002E86:
  4587. 00002E86  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4588. 00002E8A  4268 021A                clr.w      [A0 + 0x21A]
  4589. 00002E8E  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4590. 00002E92  317C 01F4 021C           move.w     [A0 + 0x21C], 0x1F4
  4591. 00002E98  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4592. 00002E9C  3268 021C                movea.w    A1, [A0 + 0x21C]
  4593. 00002EA0  2F09                     move.l     -[A7], A1
  4594. 00002EA2  4EAD EE30                jsr        [A5 - 0x11D0]
  4595. 00002EA6  226D A204                movea.l    A1, [A5 - 0x5DFC]
  4596. 00002EAA  2348 0216                move.l     [A1 + 0x216], A0
  4597. 00002EAE  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4598. 00002EB2  4AA8 0216                tst.l      [A0 + 0x216]
  4599. 00002EB6  584F                     addq.w     A7, 4
  4600. 00002EB8  661A                     bne        +0x1C /* 00002ED4 */
  4601. 00002EBA  2F28 0212                move.l     -[A7], [A0 + 0x212]
  4602. 00002EBE  4EAD EE40                jsr        [A5 - 0x11C0]
  4603. 00002EC2  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4604. 00002EC6  42A8 0212                clr.l      [A0 + 0x212]
  4605. 00002ECA  7001                     moveq.l    D0, 0x01
  4606. 00002ECC  584F                     addq.w     A7, 4
  4607. 00002ECE  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4608. 00002ED2  4E75                     rts
  4609. label00002ED4:
  4610. 00002ED4  3268 021C                movea.w    A1, [A0 + 0x21C]
  4611. 00002ED8  2F09                     move.l     -[A7], A1
  4612. 00002EDA  42A7                     clr.l      -[A7]
  4613. 00002EDC  2F28 0216                move.l     -[A7], [A0 + 0x216]
  4614. 00002EE0  4EAD D94C                jsr        [A5 - 0x26B4]
  4615. 00002EE4  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4616. 00002EE8  2248                     movea.l    A1, A0
  4617. 00002EEA  3029 020E                move.w     D0, [A1 + 0x20E]
  4618. 00002EEE  48C0                     ext.l      D0
  4619. 00002EF0  E588                     lsl        D0, 2
  4620. 00002EF2  2228 0216                move.l     D1, [A0 + 0x216]
  4621. 00002EF6  2069 0212                movea.l    A0, [A1 + 0x212]
  4622. 00002EFA  2181 08FC                move.l     [A0 + D0 - 0x4], D1
  4623. 00002EFE  7000                     moveq.l    D0, 0x00
  4624. 00002F00  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4625. 00002F04  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4626. 00002F08  4E75                     rts
  4627. fn00002F0A:
  4628. 00002F0A  48E7 081A                movem.l    -[A7], D4,A3,A4,A6
  4629. 00002F0E  2C6F 0014                movea.l    A6, [A7 + 0x14]
  4630. 00002F12  286F 0018                movea.l    A4, [A7 + 0x18]
  4631. 00002F16  382F 001C                move.w     D4, [A7 + 0x1C]
  4632. 00002F1A  264C                     movea.l    A3, A4
  4633. 00002F1C  2256                     movea.l    A1, [A6]
  4634. 00002F1E  7400                     moveq.l    D2, 0x00
  4635. 00002F20  6004                     bra        +0x6 /* 00002F26 */
  4636. label00002F22:
  4637. 00002F22  16D9                     move.b     [A3]+, [A1]+
  4638. 00002F24  5242                     addq.w     D2, 1
  4639. label00002F26:
  4640. 00002F26  4A11                     tst.b      [A1]
  4641. 00002F28  6716                     beq        +0x18 /* 00002F40 */
  4642. 00002F2A  7000                     moveq.l    D0, 0x00
  4643. 00002F2C  1011                     move.b     D0, [A1]
  4644. 00002F2E  206D 1B8C                movea.l    A0, [A5 + 0x1B8C]
  4645. 00002F32  1030 0000                move.b     D0, [A0 + D0.w]
  4646. 00002F36  7220                     moveq.l    D1, 0x20
  4647. 00002F38  C081                     and.l      D0, D1
  4648. 00002F3A  6704                     beq        +0x6 /* 00002F40 */
  4649. 00002F3C  B444                     cmp.w      D2, D4
  4650. 00002F3E  6DE2                     blt        -0x1C /* 00002F22 */
  4651. label00002F40:
  4652. 00002F40  4213                     clr.b      [A3]
  4653. 00002F42  6002                     bra        +0x4 /* 00002F46 */
  4654. label00002F44:
  4655. 00002F44  5289                     addq.l     A1, 1
  4656. label00002F46:
  4657. 00002F46  7000                     moveq.l    D0, 0x00
  4658. 00002F48  1011                     move.b     D0, [A1]
  4659. 00002F4A  206D 1B8C                movea.l    A0, [A5 + 0x1B8C]
  4660. 00002F4E  1030 0000                move.b     D0, [A0 + D0.w]
  4661. 00002F52  7244                     moveq.l    D1, 0x44
  4662. 00002F54  C081                     and.l      D0, D1
  4663. 00002F56  66EC                     bne        -0x12 /* 00002F44 */
  4664. 00002F58  2C89                     move.l     [A6], A1
  4665. 00002F5A  1014                     move.b     D0, [A4]
  4666. 00002F5C  4880                     ext.w      D0
  4667. 00002F5E  4CDF 5810                movem.l    D4,A3,A4,A6, [A7]+
  4668. 00002F62  4E75                     rts
  4669. fn00002F64:
  4670. 00002F64  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  4671. 00002F68  266F 0014                movea.l    A3, [A7 + 0x14]
  4672. 00002F6C  286F 0018                movea.l    A4, [A7 + 0x18]
  4673. 00002F70  4878 001E                push.l     0x1E
  4674. 00002F74  42A7                     clr.l      -[A7]
  4675. 00002F76  2F0B                     move.l     -[A7], A3
  4676. 00002F78  4EAD D94C                jsr        [A5 - 0x26B4]
  4677. 00002F7C  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  4678. 00002F80  2F14                     move.l     -[A7], [A4]
  4679. 00002F82  4EBA 1064                jsr        [PC + 0x1064 /* 00003FE8 */]
  4680. 00002F86  2748 0004                move.l     [A3 + 0x4], A0
  4681. 00002F8A  2754 0008                move.l     [A3 + 0x8], [A4]
  4682. 00002F8E  426B 0012                clr.w      [A3 + 0x12]
  4683. 00002F92  377C 0001 0010           move.w     [A3 + 0x10], 0x1
  4684. 00002F98  41ED A1EE                lea.l      A0, [A5 - 0x5E12]
  4685. 00002F9C  41E8 0020                lea.l      A0, [A0 + 0x20]
  4686. 00002FA0  2748 001A                move.l     [A3 + 0x1A], A0
  4687. 00002FA4  3F3C 0001                move.w     -[A7], 0x1
  4688. 00002FA8  4EBA 0E0E                jsr        [PC + 0xE0E /* 00003DB8 */]
  4689. 00002FAC  2448                     movea.l    A2, A0
  4690. 00002FAE  7062                     moveq.l    D0, 0x62
  4691. 00002FB0  C1ED A20C                muls.w     D0, [A5 - 0x5DF4]
  4692. 00002FB4  D5C0                     add.l      A2, D0
  4693. 00002FB6  2C6A 001E                movea.l    A6, [A2 + 0x1E]
  4694. 00002FBA  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  4695. 00002FBE  4EAD EE18                jsr        [A5 - 0x11E8]
  4696. 00002FC2  2548 0056                move.l     [A2 + 0x56], A0
  4697. 00002FC6  3F2A 005C                move.w     -[A7], [A2 + 0x5C]
  4698. 00002FCA  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  4699. 00002FCE  206A 0026                movea.l    A0, [A2 + 0x26]
  4700. 00002FD2  4E90                     jsr        [A0]
  4701. 00002FD4  2F0B                     move.l     -[A7], A3
  4702. 00002FD6  4E96                     jsr        [A6]
  4703. 00002FD8  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  4704. 00002FDC  4EAD EE20                jsr        [A5 - 0x11E0]
  4705. 00002FE0  42AA 0056                clr.l      [A2 + 0x56]
  4706. 00002FE4  4267                     clr.w      -[A7]
  4707. 00002FE6  4EBA 0DD0                jsr        [PC + 0xDD0 /* 00003DB8 */]
  4708. 00002FEA  28AB 0014                move.l     [A4], [A3 + 0x14]
  4709. 00002FEE  4A6B 0018                tst.w      [A3 + 0x18]
  4710. 00002FF2  56C0                     sne        D0
  4711. 00002FF4  4400                     neg.b      D0
  4712. 00002FF6  4880                     ext.w      D0
  4713. 00002FF8  48C0                     ext.l      D0
  4714. 00002FFA  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  4715. 00002FFE  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  4716. 00003002  4E75                     rts
  4717. fn00003004:
  4718. 00003004  48E7 1020                movem.l    -[A7], D3,A2
  4719. 00003008  7600                     moveq.l    D3, 0x00
  4720. 0000300A  3F3C 0001                move.w     -[A7], 0x1
  4721. 0000300E  4EBA 0DA8                jsr        [PC + 0xDA8 /* 00003DB8 */]
  4722. 00003012  2448                     movea.l    A2, A0
  4723. 00003014  7062                     moveq.l    D0, 0x62
  4724. 00003016  C1ED A20C                muls.w     D0, [A5 - 0x5DF4]
  4725. 0000301A  D5C0                     add.l      A2, D0
  4726. 0000301C  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  4727. 00003020  4EAD EE18                jsr        [A5 - 0x11E8]
  4728. 00003024  2548 0056                move.l     [A2 + 0x56], A0
  4729. 00003028  3F2A 005C                move.w     -[A7], [A2 + 0x5C]
  4730. 0000302C  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  4731. 00003030  206A 0026                movea.l    A0, [A2 + 0x26]
  4732. 00003034  4E90                     jsr        [A0]
  4733. 00003036  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4734. 0000303A  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4735. 0000303E  206A 0022                movea.l    A0, [A2 + 0x22]
  4736. 00003042  4E90                     jsr        [A0]
  4737. 00003044  2600                     move.l     D3, D0
  4738. 00003046  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  4739. 0000304A  4EAD EE20                jsr        [A5 - 0x11E0]
  4740. 0000304E  42AA 0056                clr.l      [A2 + 0x56]
  4741. 00003052  4267                     clr.w      -[A7]
  4742. 00003054  4EBA 0D62                jsr        [PC + 0xD62 /* 00003DB8 */]
  4743. 00003058  2003                     move.l     D0, D3
  4744. 0000305A  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  4745. 0000305E  4CDF 0408                movem.l    D3,A2, [A7]+
  4746. 00003062  4E75                     rts
  4747. fn00003064:
  4748. 00003064  2F0B                     move.l     -[A7], A3
  4749. 00003066  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4750. 0000306A  2668 0216                movea.l    A3, [A0 + 0x216]
  4751. 0000306E  603E                     bra        +0x40 /* 000030AE */
  4752. label00003070:
  4753. 00003070  4A2B 0006                tst.b      [A3 + 0x6]
  4754. 00003074  6636                     bne        +0x38 /* 000030AC */
  4755. 00003076  7200                     moveq.l    D1, 0x00
  4756. 00003078  224B                     movea.l    A1, A3
  4757. 0000307A  5089                     addq.l     A1, 8
  4758. 0000307C  5C89                     addq.l     A1, 6
  4759. 0000307E  5C8B                     addq.l     A3, 6
  4760. 00003080  6016                     bra        +0x18 /* 00003098 */
  4761. label00003082:
  4762. 00003082  0C11 0002                cmpi.b     [A1], 0x2
  4763. 00003086  660E                     bne        +0x10 /* 00003096 */
  4764. 00003088  2049                     movea.l    A0, A1
  4765. 0000308A  91CB                     sub.l      A0, A3
  4766. 0000308C  2008                     move.l     D0, A0
  4767. 0000308E  1680                     move.b     [A3], D0
  4768. 00003090  2649                     movea.l    A3, A1
  4769. 00003092  7201                     moveq.l    D1, 0x01
  4770. 00003094  6006                     bra        +0x8 /* 0000309C */
  4771. label00003096:
  4772. 00003096  5E89                     addq.l     A1, 7
  4773. label00003098:
  4774. 00003098  4A11                     tst.b      [A1]
  4775. 0000309A  66E6                     bne        -0x18 /* 00003082 */
  4776. label0000309C:
  4777. 0000309C  4A41                     tst.w      D1
  4778. 0000309E  660E                     bne        +0x10 /* 000030AE */
  4779. 000030A0  2049                     movea.l    A0, A1
  4780. 000030A2  91CB                     sub.l      A0, A3
  4781. 000030A4  2008                     move.l     D0, A0
  4782. 000030A6  1680                     move.b     [A3], D0
  4783. 000030A8  528B                     addq.l     A3, 1
  4784. 000030AA  6002                     bra        +0x4 /* 000030AE */
  4785. label000030AC:
  4786. 000030AC  5E8B                     addq.l     A3, 7
  4787. label000030AE:
  4788. 000030AE  4A13                     tst.b      [A3]
  4789. 000030B0  66BE                     bne        -0x40 /* 00003070 */
  4790. 000030B2  7000                     moveq.l    D0, 0x00
  4791. 000030B4  265F                     movea.l    A3, [A7]+
  4792. 000030B6  4E75                     rts
  4793. fn000030B8:
  4794. 000030B8  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  4795. 000030BC  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  4796. 000030C0  266F 0022                movea.l    A3, [A7 + 0x22]
  4797. 000030C4  246F 0026                movea.l    A2, [A7 + 0x26]
  4798. 000030C8  426F 0008                clr.w      [A7 + 0x8]
  4799. 000030CC  7800                     moveq.l    D4, 0x00
  4800. 000030CE  7A00                     moveq.l    D5, 0x00
  4801. label000030D0:
  4802. 000030D0  486F 0008                pea.l      [A7 + 0x8]
  4803. 000030D4  4EBA 086E                jsr        [PC + 0x86E /* 00003944 */]
  4804. 000030D8  4A40                     tst.w      D0
  4805. 000030DA  584F                     addq.w     A7, 4
  4806. 000030DC  6756                     beq        +0x58 /* 00003134 */
  4807. 000030DE  7600                     moveq.l    D3, 0x00
  4808. 000030E0  306F 0008                movea.w    A0, [A7 + 0x8]
  4809. 000030E4  2008                     move.l     D0, A0
  4810. 000030E6  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  4811. 000030EA  4EBA 083A                jsr        [PC + 0x83A /* 00003926 */]
  4812. 000030EE  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4813. 000030F2  4A10                     tst.b      [A0]
  4814. 000030F4  6700 00B4                beq        +0xB6 /* 000031AA */
  4815. 000030F8  2F48 0004                move.l     [A7 + 0x4], A0
  4816. 000030FC  3F3C 012C                move.w     -[A7], 0x12C
  4817. 00003100  486D A20E                pea.l      [A5 - 0x5DF2]
  4818. 00003104  486F 000A                pea.l      [A7 + 0xA]
  4819. 00003108  4EBA FE00                jsr        [PC - 0x200 /* 00002F0A */]
  4820. 0000310C  4A40                     tst.w      D0
  4821. 0000310E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4822. 00003112  671A                     beq        +0x1C /* 0000312E */
  4823. 00003114  4878 000A                push.l     0xA /* '\n' */
  4824. 00003118  42A7                     clr.l      -[A7]
  4825. 0000311A  486D A20E                pea.l      [A5 - 0x5DF2]
  4826. 0000311E  4EAD D940                jsr        [A5 - 0x26C0]
  4827. 00003122  3600                     move.w     D3, D0
  4828. 00003124  2B6F 0010 A1EE           move.l     [A5 - 0x5E12], [A7 + 0x10]
  4829. 0000312A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4830. label0000312E:
  4831. 0000312E  3683                     move.w     [A3], D3
  4832. 00003130  7801                     moveq.l    D4, 0x01
  4833. 00003132  609C                     bra        -0x62 /* 000030D0 */
  4834. label00003134:
  4835. 00003134  486F 0008                pea.l      [A7 + 0x8]
  4836. 00003138  4EBA 086A                jsr        [PC + 0x86A /* 000039A4 */]
  4837. 0000313C  4A40                     tst.w      D0
  4838. 0000313E  584F                     addq.w     A7, 4
  4839. 00003140  6768                     beq        +0x6A /* 000031AA */
  4840. 00003142  7600                     moveq.l    D3, 0x00
  4841. 00003144  306F 0008                movea.w    A0, [A7 + 0x8]
  4842. 00003148  2008                     move.l     D0, A0
  4843. 0000314A  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  4844. 0000314E  4EBA 07D6                jsr        [PC + 0x7D6 /* 00003926 */]
  4845. 00003152  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  4846. 00003156  4A10                     tst.b      [A0]
  4847. 00003158  6750                     beq        +0x52 /* 000031AA */
  4848. 0000315A  2E88                     move.l     [A7], A0
  4849. 0000315C  3F3C 012C                move.w     -[A7], 0x12C
  4850. 00003160  486D A20E                pea.l      [A5 - 0x5DF2]
  4851. 00003164  486F 0006                pea.l      [A7 + 0x6]
  4852. 00003168  4EBA FDA0                jsr        [PC - 0x260 /* 00002F0A */]
  4853. 0000316C  4A40                     tst.w      D0
  4854. 0000316E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4855. 00003172  672E                     beq        +0x30 /* 000031A2 */
  4856. 00003174  4878 000A                push.l     0xA /* '\n' */
  4857. 00003178  42A7                     clr.l      -[A7]
  4858. 0000317A  486D A20E                pea.l      [A5 - 0x5DF2]
  4859. 0000317E  4EAD D940                jsr        [A5 - 0x26C0]
  4860. 00003182  3600                     move.w     D3, D0
  4861. 00003184  206D A204                movea.l    A0, [A5 - 0x5DFC]
  4862. 00003188  B668 0222                cmp.w      D3, [A0 + 0x222]
  4863. 0000318C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4864. 00003190  6D0C                     blt        +0xE /* 0000319E */
  4865. 00003192  700E                     moveq.l    D0, 0x0E
  4866. 00003194  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4867. 00003198  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  4868. 0000319C  4E75                     rts
  4869. label0000319E:
  4870. 0000319E  2B57 A1EE                move.l     [A5 - 0x5E12], [A7]
  4871. label000031A2:
  4872. 000031A2  3483                     move.w     [A2], D3
  4873. 000031A4  7A01                     moveq.l    D5, 0x01
  4874. 000031A6  6000 FF28                bra        -0xD6 /* 000030D0 */
  4875. label000031AA:
  4876. 000031AA  4EBA 077A                jsr        [PC + 0x77A /* 00003926 */]
  4877. 000031AE  4A44                     tst.w      D4
  4878. 000031B0  6604                     bne        +0x6 /* 000031B6 */
  4879. 000031B2  36AD A20A                move.w     [A3], [A5 - 0x5DF6]
  4880. label000031B6:
  4881. 000031B6  4A45                     tst.w      D5
  4882. 000031B8  6604                     bne        +0x6 /* 000031BE */
  4883. 000031BA  34AD A20C                move.w     [A2], [A5 - 0x5DF4]
  4884. label000031BE:
  4885. 000031BE  7000                     moveq.l    D0, 0x00
  4886. 000031C0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4887. 000031C4  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  4888. 000031C8  4E75                     rts
  4889. fn000031CA:
  4890. 000031CA  48E7 1800                movem.l    -[A7], D3,D4
  4891. 000031CE  554F                     subq.w     A7, 2
  4892. 000031D0  7800                     moveq.l    D4, 0x00
  4893. 000031D2  4857                     pea.l      [A7]
  4894. 000031D4  3F3C 0002                move.w     -[A7], 0x2
  4895. 000031D8  4EBA 0C14                jsr        [PC + 0xC14 /* 00003DEE */]
  4896. 000031DC  4A40                     tst.w      D0
  4897. 000031DE  5C4F                     addq.w     A7, 6
  4898. 000031E0  673E                     beq        +0x40 /* 00003220 */
  4899. 000031E2  76FF                     moveq.l    D3, 0xFFFFFFFF
  4900. 000031E4  3057                     movea.w    A0, [A7]
  4901. 000031E6  2008                     move.l     D0, A0
  4902. 000031E8  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  4903. 000031EC  4EBA 0738                jsr        [PC + 0x738 /* 00003926 */]
  4904. 000031F0  7801                     moveq.l    D4, 0x01
  4905. 000031F2  6012                     bra        +0x14 /* 00003206 */
  4906. label000031F4:
  4907. 000031F4  4883                     ext.w      D3
  4908. 000031F6  48C3                     ext.l      D3
  4909. 000031F8  4683                     not.l      D3
  4910. 000031FA  3057                     movea.w    A0, [A7]
  4911. 000031FC  2008                     move.l     D0, A0
  4912. 000031FE  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  4913. 00003202  4EBA 0722                jsr        [PC + 0x722 /* 00003926 */]
  4914. label00003206:
  4915. 00003206  4857                     pea.l      [A7]
  4916. 00003208  3F3C 0002                move.w     -[A7], 0x2
  4917. 0000320C  4EBA 0BE0                jsr        [PC + 0xBE0 /* 00003DEE */]
  4918. 00003210  4A40                     tst.w      D0
  4919. 00003212  5C4F                     addq.w     A7, 6
  4920. 00003214  66DE                     bne        -0x20 /* 000031F4 */
  4921. 00003216  4A03                     tst.b      D3
  4922. 00003218  6706                     beq        +0x8 /* 00003220 */
  4923. 0000321A  3B7C 0001 A202           move.w     [A5 - 0x5DFE], 0x1
  4924. label00003220:
  4925. 00003220  3004                     move.w     D0, D4
  4926. 00003222  544F                     addq.w     A7, 2
  4927. 00003224  4CDF 0018                movem.l    D3,D4, [A7]+
  4928. 00003228  4E75                     rts
  4929. fn0000322A:
  4930. 0000322A  48E7 1C00                movem.l    -[A7], D3,D4,D5
  4931. 0000322E  554F                     subq.w     A7, 2
  4932. 00003230  7A00                     moveq.l    D5, 0x00
  4933. 00003232  7800                     moveq.l    D4, 0x00
  4934. 00003234  7600                     moveq.l    D3, 0x00
  4935. 00003236  4857                     pea.l      [A7]
  4936. 00003238  3F3C 0003                move.w     -[A7], 0x3
  4937. 0000323C  4EBA 0BB0                jsr        [PC + 0xBB0 /* 00003DEE */]
  4938. 00003240  3A00                     move.w     D5, D0
  4939. 00003242  5C4F                     addq.w     A7, 6
  4940. 00003244  670A                     beq        +0xC /* 00003250 */
  4941. 00003246  7603                     moveq.l    D3, 0x03
  4942. 00003248  3057                     movea.w    A0, [A7]
  4943. 0000324A  2008                     move.l     D0, A0
  4944. 0000324C  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  4945. label00003250:
  4946. 00003250  4A43                     tst.w      D3
  4947. 00003252  6720                     beq        +0x22 /* 00003274 */
  4948. 00003254  306D A1F8                movea.w    A0, [A5 - 0x5E08]
  4949. 00003258  2A08                     move.l     D5, A0
  4950. 0000325A  4EBA 06CA                jsr        [PC + 0x6CA /* 00003926 */]
  4951. 0000325E  2F05                     move.l     -[A7], D5
  4952. 00003260  3F03                     move.w     -[A7], D3
  4953. 00003262  486D A1FE                pea.l      [A5 - 0x5E02]
  4954. 00003266  4EBA F57C                jsr        [PC - 0xA84 /* 000027E4 */]
  4955. 0000326A  4A40                     tst.w      D0
  4956. 0000326C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4957. 00003270  6702                     beq        +0x4 /* 00003274 */
  4958. 00003272  7801                     moveq.l    D4, 0x01
  4959. label00003274:
  4960. 00003274  3004                     move.w     D0, D4
  4961. 00003276  544F                     addq.w     A7, 2
  4962. 00003278  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  4963. 0000327C  4E75                     rts
  4964. fn0000327E:
  4965. 0000327E  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  4966. 00003282  266F 0024                movea.l    A3, [A7 + 0x24]
  4967. 00003286  7600                     moveq.l    D3, 0x00
  4968. 00003288  246D A204                movea.l    A2, [A5 - 0x5DFC]
  4969. 0000328C  45EA 020E                lea.l      A2, [A2 + 0x20E]
  4970. 00003290  526D A1F6                addq.w     [A5 - 0x5E0A], 1
  4971. 00003294  302D A1F6                move.w     D0, [A5 - 0x5E0A]
  4972. 00003298  48C0                     ext.l      D0
  4973. 0000329A  720A                     moveq.l    D1, 0x0A
  4974. 0000329C  B081                     cmp.l      D0, D1
  4975. 0000329E  6F08                     ble        +0xA /* 000032A8 */
  4976. 000032A0  700C                     moveq.l    D0, 0x0C
  4977. 000032A2  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  4978. 000032A6  4E75                     rts
  4979. label000032A8:
  4980. 000032A8  52AD A1EE                addq.l     [A5 - 0x5E12], 1
  4981. 000032AC  4EBA 0678                jsr        [PC + 0x678 /* 00003926 */]
  4982. 000032B0  3F12                     move.w     -[A7], [A2]
  4983. 000032B2  3F3C 0002                move.w     -[A7], 0x2
  4984. 000032B6  3F2D A202                move.w     -[A7], [A5 - 0x5DFE]
  4985. 000032BA  102D A1FE                move.b     D0, [A5 - 0x5E02]
  4986. 000032BE  4880                     ext.w      D0
  4987. 000032C0  3F00                     move.w     -[A7], D0
  4988. 000032C2  102D A1FA                move.b     D0, [A5 - 0x5E06]
  4989. 000032C6  4880                     ext.w      D0
  4990. 000032C8  3F00                     move.w     -[A7], D0
  4991. 000032CA  4EBA F634                jsr        [PC - 0x9CC /* 00002900 */]
  4992. 000032CE  426D A202                clr.w      [A5 - 0x5DFE]
  4993. 000032D2  422D A1FE                clr.b      [A5 - 0x5E02]
  4994. 000032D6  182D A1FA                move.b     D4, [A5 - 0x5E06]
  4995. 000032DA  4884                     ext.w      D4
  4996. 000032DC  3A2A 000C                move.w     D5, [A2 + 0xC]
  4997. 000032E0  3C2A 000E                move.w     D6, [A2 + 0xE]
  4998. 000032E4  3E2D A1FC                move.w     D7, [A5 - 0x5E04]
  4999. 000032E8  286A 0008                movea.l    A4, [A2 + 0x8]
  5000. 000032EC  1B7C 0003 A1FA           move.b     [A5 - 0x5E06], 0x3
  5001. 000032F2  426D A1FC                clr.w      [A5 - 0x5E04]
  5002. 000032F6  422D A1FE                clr.b      [A5 - 0x5E02]
  5003. 000032FA  4EBA FB0E                jsr        [PC - 0x4F2 /* 00002E0A */]
  5004. 000032FE  4A40                     tst.w      D0
  5005. 00003300  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5006. 00003304  6708                     beq        +0xA /* 0000330E */
  5007. 00003306  7001                     moveq.l    D0, 0x01
  5008. 00003308  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5009. 0000330C  4E75                     rts
  5010. label0000330E:
  5011. 0000330E  2F0B                     move.l     -[A7], A3
  5012. 00003310  4EBA F6D2                jsr        [PC - 0x92E /* 000029E4 */]
  5013. 00003314  3600                     move.w     D3, D0
  5014. 00003316  584F                     addq.w     A7, 4
  5015. 00003318  6708                     beq        +0xA /* 00003322 */
  5016. 0000331A  3003                     move.w     D0, D3
  5017. 0000331C  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5018. 00003320  4E75                     rts
  5019. label00003322:
  5020. 00003322  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  5021. 00003326  0C10 0029                cmpi.b     [A0], 0x29 /* ')' */
  5022. 0000332A  6708                     beq        +0xA /* 00003334 */
  5023. 0000332C  7009                     moveq.l    D0, 0x09
  5024. 0000332E  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5025. 00003332  4E75                     rts
  5026. label00003334:
  5027. 00003334  536D A1F6                subq.w     [A5 - 0x5E0A], 1
  5028. 00003338  52AD A1EE                addq.l     [A5 - 0x5E12], 1
  5029. 0000333C  4EBA 05E8                jsr        [PC + 0x5E8 /* 00003926 */]
  5030. 00003340  4A53                     tst.w      [A3]
  5031. 00003342  6750                     beq        +0x52 /* 00003394 */
  5032. 00003344  302A 000C                move.w     D0, [A2 + 0xC]
  5033. 00003348  48C0                     ext.l      D0
  5034. 0000334A  7202                     moveq.l    D1, 0x02
  5035. 0000334C  B081                     cmp.l      D0, D1
  5036. 0000334E  6F48                     ble        +0x4A /* 00003398 */
  5037. 00003350  556A 000C                subq.w     [A2 + 0xC], 2
  5038. 00003354  302A 000C                move.w     D0, [A2 + 0xC]
  5039. 00003358  526A 000C                addq.w     [A2 + 0xC], 1
  5040. 0000335C  206A 0008                movea.l    A0, [A2 + 0x8]
  5041. 00003360  11BC 0002 0000           move.b     [A0 + D0.w], 0x2
  5042. 00003366  302A 000C                move.w     D0, [A2 + 0xC]
  5043. 0000336A  526A 000C                addq.w     [A2 + 0xC], 1
  5044. 0000336E  206A 0008                movea.l    A0, [A2 + 0x8]
  5045. 00003372  11BC 0001 0000           move.b     [A0 + D0.w], 0x1
  5046. 00003378  302A 000C                move.w     D0, [A2 + 0xC]
  5047. 0000337C  526A 000C                addq.w     [A2 + 0xC], 1
  5048. 00003380  206A 0008                movea.l    A0, [A2 + 0x8]
  5049. 00003384  4230 0000                clr.b      [A0 + D0.w]
  5050. 00003388  4A6D A1FC                tst.w      [A5 - 0x5E04]
  5051. 0000338C  670A                     beq        +0xC /* 00003398 */
  5052. 0000338E  4EBA FCD4                jsr        [PC - 0x32C /* 00003064 */]
  5053. 00003392  6004                     bra        +0x6 /* 00003398 */
  5054. label00003394:
  5055. 00003394  4EBA 09B0                jsr        [PC + 0x9B0 /* 00003D46 */]
  5056. label00003398:
  5057. 00003398  3545 000C                move.w     [A2 + 0xC], D5
  5058. 0000339C  3546 000E                move.w     [A2 + 0xE], D6
  5059. 000033A0  3B47 A1FC                move.w     [A5 - 0x5E04], D7
  5060. 000033A4  254C 0008                move.l     [A2 + 0x8], A4
  5061. 000033A8  1B44 A1FA                move.b     [A5 - 0x5E06], D4
  5062. 000033AC  4A53                     tst.w      [A3]
  5063. 000033AE  660A                     bne        +0xC /* 000033BA */
  5064. 000033B0  3F3C 0001                move.w     -[A7], 0x1
  5065. 000033B4  4EBA 09BA                jsr        [PC + 0x9BA /* 00003D70 */]
  5066. 000033B8  544F                     addq.w     A7, 2
  5067. label000033BA:
  5068. 000033BA  4EBA 056A                jsr        [PC + 0x56A /* 00003926 */]
  5069. 000033BE  3003                     move.w     D0, D3
  5070. 000033C0  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5071. 000033C4  4E75                     rts
  5072. fn000033C6:
  5073. 000033C6  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  5074. 000033CA  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  5075. 000033CE  266F 0044                movea.l    A3, [A7 + 0x44]
  5076. 000033D2  41ED A1D0                lea.l      A0, [A5 - 0x5E30]
  5077. 000033D6  43EF 0002                lea.l      A1, [A7 + 0x2]
  5078. 000033DA  7006                     moveq.l    D0, 0x06
  5079. label000033DC:
  5080. 000033DC  22D8                     move.l     [A1]+, [A0]+
  5081. 000033DE  51C8 FFFC                dbf        D0, -0x6 /* 000033DC */
  5082. 000033E2  32D8                     move.w     [A1]+, [A0]+
  5083. 000033E4  7600                     moveq.l    D3, 0x00
  5084. 000033E6  246D A204                movea.l    A2, [A5 - 0x5DFC]
  5085. 000033EA  45EA 020E                lea.l      A2, [A2 + 0x20E]
  5086. 000033EE  4253                     clr.w      [A3]
  5087. 000033F0  52AD A1EE                addq.l     [A5 - 0x5E12], 1
  5088. 000033F4  4EBA 0530                jsr        [PC + 0x530 /* 00003926 */]
  5089. 000033F8  3F12                     move.w     -[A7], [A2]
  5090. 000033FA  3F3C 0003                move.w     -[A7], 0x3
  5091. 000033FE  3F2D A202                move.w     -[A7], [A5 - 0x5DFE]
  5092. 00003402  4267                     clr.w      -[A7]
  5093. 00003404  102D A1FA                move.b     D0, [A5 - 0x5E06]
  5094. 00003408  4880                     ext.w      D0
  5095. 0000340A  3F00                     move.w     -[A7], D0
  5096. 0000340C  4EBA F4F2                jsr        [PC - 0xB0E /* 00002900 */]
  5097. 00003410  426D A202                clr.w      [A5 - 0x5DFE]
  5098. 00003414  422D A1FE                clr.b      [A5 - 0x5E02]
  5099. 00003418  182D A1FA                move.b     D4, [A5 - 0x5E06]
  5100. 0000341C  4884                     ext.w      D4
  5101. 0000341E  3A2A 000C                move.w     D5, [A2 + 0xC]
  5102. 00003422  3C2A 000E                move.w     D6, [A2 + 0xE]
  5103. 00003426  3E2D A1FC                move.w     D7, [A5 - 0x5E04]
  5104. 0000342A  286A 0008                movea.l    A4, [A2 + 0x8]
  5105. 0000342E  1B7C 0003 A1FA           move.b     [A5 - 0x5E06], 0x3
  5106. 00003434  426D A1FC                clr.w      [A5 - 0x5E04]
  5107. 00003438  4EBA F9D0                jsr        [PC - 0x630 /* 00002E0A */]
  5108. 0000343C  4A40                     tst.w      D0
  5109. 0000343E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5110. 00003442  6700 00DA                beq        +0xDC /* 0000351E */
  5111. 00003446  7001                     moveq.l    D0, 0x01
  5112. 00003448  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5113. 0000344C  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5114. 00003450  4E75                     rts
  5115. label00003452:
  5116. 00003452  486D B661                pea.l      [A5 - 0x499F]
  5117. 00003456  3F3C 012C                move.w     -[A7], 0x12C
  5118. 0000345A  486D A1EE                pea.l      [A5 - 0x5E12]
  5119. 0000345E  486F 000C                pea.l      [A7 + 0xC]
  5120. 00003462  4EBA FB00                jsr        [PC - 0x500 /* 00002F64 */]
  5121. 00003466  4A40                     tst.w      D0
  5122. 00003468  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5123. 0000346C  660C                     bne        +0xE /* 0000347A */
  5124. 0000346E  7005                     moveq.l    D0, 0x05
  5125. 00003470  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5126. 00003474  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5127. 00003478  4E75                     rts
  5128. label0000347A:
  5129. 0000347A  486F 0002                pea.l      [A7 + 0x2]
  5130. 0000347E  4EBA 07D6                jsr        [PC + 0x7D6 /* 00003C56 */]
  5131. 00003482  4A40                     tst.w      D0
  5132. 00003484  584F                     addq.w     A7, 4
  5133. 00003486  6600 0096                bne        +0x98 /* 0000351E */
  5134. 0000348A  3F2D A20C                move.w     -[A7], [A5 - 0x5DF4]
  5135. 0000348E  3F2D A20A                move.w     -[A7], [A5 - 0x5DF6]
  5136. 00003492  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  5137. 00003496  486D A20E                pea.l      [A5 - 0x5DF2]
  5138. 0000349A  486F 000B                pea.l      [A7 + 0xB]
  5139. 0000349E  4EBA F252                jsr        [PC - 0xDAE /* 000026F2 */]
  5140. 000034A2  3600                     move.w     D3, D0
  5141. 000034A4  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5142. 000034A8  670C                     beq        +0xE /* 000034B6 */
  5143. 000034AA  7001                     moveq.l    D0, 0x01
  5144. 000034AC  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5145. 000034B0  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5146. 000034B4  4E75                     rts
  5147. label000034B6:
  5148. 000034B6  3013                     move.w     D0, [A3]
  5149. 000034B8  48C0                     ext.l      D0
  5150. 000034BA  4A80                     tst.l      D0
  5151. 000034BC  6F2E                     ble        +0x30 /* 000034EC */
  5152. 000034BE  1B7C 0001 A1FA           move.b     [A5 - 0x5E06], 0x1
  5153. 000034C4  102F 0001                move.b     D0, [A7 + 0x1]
  5154. 000034C8  4880                     ext.w      D0
  5155. 000034CA  3F00                     move.w     -[A7], D0
  5156. 000034CC  3F3C 0001                move.w     -[A7], 0x1
  5157. 000034D0  2F3C 0001 0000           move.l     -[A7], 0x10000
  5158. 000034D6  102D A1FA                move.b     D0, [A5 - 0x5E06]
  5159. 000034DA  4880                     ext.w      D0
  5160. 000034DC  3F00                     move.w     -[A7], D0
  5161. 000034DE  4EBA F420                jsr        [PC - 0xBE0 /* 00002900 */]
  5162. 000034E2  526D A1FC                addq.w     [A5 - 0x5E04], 1
  5163. 000034E6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5164. 000034EA  601E                     bra        +0x20 /* 0000350A */
  5165. label000034EC:
  5166. 000034EC  102F 0001                move.b     D0, [A7 + 0x1]
  5167. 000034F0  4880                     ext.w      D0
  5168. 000034F2  3F00                     move.w     -[A7], D0
  5169. 000034F4  3F3C 0001                move.w     -[A7], 0x1
  5170. 000034F8  42A7                     clr.l      -[A7]
  5171. 000034FA  102D A1FA                move.b     D0, [A5 - 0x5E06]
  5172. 000034FE  4880                     ext.w      D0
  5173. 00003500  3F00                     move.w     -[A7], D0
  5174. 00003502  4EBA F3FC                jsr        [PC - 0xC04 /* 00002900 */]
  5175. 00003506  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5176. label0000350A:
  5177. 0000350A  206A 0008                movea.l    A0, [A2 + 0x8]
  5178. 0000350E  302A 000C                move.w     D0, [A2 + 0xC]
  5179. 00003512  11BC 0002 00FE           move.b     [A0 + D0.w - 0x2], 0x2
  5180. 00003518  5253                     addq.w     [A3], 1
  5181. 0000351A  4EBA 040A                jsr        [PC + 0x40A /* 00003926 */]
  5182. label0000351E:
  5183. 0000351E  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  5184. 00003522  4A10                     tst.b      [A0]
  5185. 00003524  6708                     beq        +0xA /* 0000352E */
  5186. 00003526  0C10 0022                cmpi.b     [A0], 0x22 /* '\"' */
  5187. 0000352A  6600 FF26                bne        -0xD8 /* 00003452 */
  5188. label0000352E:
  5189. 0000352E  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  5190. 00003532  4A10                     tst.b      [A0]
  5191. 00003534  6700 0092                beq        +0x94 /* 000035C8 */
  5192. 00003538  0C10 0022                cmpi.b     [A0], 0x22 /* '\"' */
  5193. 0000353C  6600 0086                bne        +0x88 /* 000035C4 */
  5194. 00003540  52AD A1EE                addq.l     [A5 - 0x5E12], 1
  5195. 00003544  4EBA 03E0                jsr        [PC + 0x3E0 /* 00003926 */]
  5196. 00003548  4A53                     tst.w      [A3]
  5197. 0000354A  6750                     beq        +0x52 /* 0000359C */
  5198. 0000354C  302A 000C                move.w     D0, [A2 + 0xC]
  5199. 00003550  48C0                     ext.l      D0
  5200. 00003552  7202                     moveq.l    D1, 0x02
  5201. 00003554  B081                     cmp.l      D0, D1
  5202. 00003556  6F48                     ble        +0x4A /* 000035A0 */
  5203. 00003558  556A 000C                subq.w     [A2 + 0xC], 2
  5204. 0000355C  302A 000C                move.w     D0, [A2 + 0xC]
  5205. 00003560  526A 000C                addq.w     [A2 + 0xC], 1
  5206. 00003564  206A 0008                movea.l    A0, [A2 + 0x8]
  5207. 00003568  11BC 0002 0000           move.b     [A0 + D0.w], 0x2
  5208. 0000356E  302A 000C                move.w     D0, [A2 + 0xC]
  5209. 00003572  526A 000C                addq.w     [A2 + 0xC], 1
  5210. 00003576  206A 0008                movea.l    A0, [A2 + 0x8]
  5211. 0000357A  11BC 0001 0000           move.b     [A0 + D0.w], 0x1
  5212. 00003580  302A 000C                move.w     D0, [A2 + 0xC]
  5213. 00003584  526A 000C                addq.w     [A2 + 0xC], 1
  5214. 00003588  206A 0008                movea.l    A0, [A2 + 0x8]
  5215. 0000358C  4230 0000                clr.b      [A0 + D0.w]
  5216. 00003590  4A6D A1FC                tst.w      [A5 - 0x5E04]
  5217. 00003594  670A                     beq        +0xC /* 000035A0 */
  5218. 00003596  4EBA FACC                jsr        [PC - 0x534 /* 00003064 */]
  5219. 0000359A  6004                     bra        +0x6 /* 000035A0 */
  5220. label0000359C:
  5221. 0000359C  4EBA 07A8                jsr        [PC + 0x7A8 /* 00003D46 */]
  5222. label000035A0:
  5223. 000035A0  3545 000C                move.w     [A2 + 0xC], D5
  5224. 000035A4  3546 000E                move.w     [A2 + 0xE], D6
  5225. 000035A8  3B47 A1FC                move.w     [A5 - 0x5E04], D7
  5226. 000035AC  254C 0008                move.l     [A2 + 0x8], A4
  5227. 000035B0  1B44 A1FA                move.b     [A5 - 0x5E06], D4
  5228. 000035B4  4A53                     tst.w      [A3]
  5229. 000035B6  6612                     bne        +0x14 /* 000035CA */
  5230. 000035B8  3F3C 0001                move.w     -[A7], 0x1
  5231. 000035BC  4EBA 07B2                jsr        [PC + 0x7B2 /* 00003D70 */]
  5232. 000035C0  544F                     addq.w     A7, 2
  5233. 000035C2  6006                     bra        +0x8 /* 000035CA */
  5234. label000035C4:
  5235. 000035C4  760A                     moveq.l    D3, 0x0A
  5236. 000035C6  6002                     bra        +0x4 /* 000035CA */
  5237. label000035C8:
  5238. 000035C8  760A                     moveq.l    D3, 0x0A
  5239. label000035CA:
  5240. 000035CA  4EBA 035A                jsr        [PC + 0x35A /* 00003926 */]
  5241. 000035CE  3003                     move.w     D0, D3
  5242. 000035D0  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5243. 000035D4  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5244. 000035D8  4E75                     rts
  5245. fn000035DA:
  5246. 000035DA  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  5247. 000035DE  4FEF FD82                lea.l      A7, [A7 - 0x27E]
  5248. 000035E2  266F 029A                movea.l    A3, [A7 + 0x29A]
  5249. 000035E6  246D A1EE                movea.l    A2, [A5 - 0x5E12]
  5250. 000035EA  41ED A1B2                lea.l      A0, [A5 - 0x5E4E]
  5251. 000035EE  43EF 0260                lea.l      A1, [A7 + 0x260]
  5252. 000035F2  7006                     moveq.l    D0, 0x06
  5253. label000035F4:
  5254. 000035F4  22D8                     move.l     [A1]+, [A0]+
  5255. 000035F6  51C8 FFFC                dbf        D0, -0x6 /* 000035F4 */
  5256. 000035FA  32D8                     move.w     [A1]+, [A0]+
  5257. 000035FC  7600                     moveq.l    D3, 0x00
  5258. 000035FE  246D A204                movea.l    A2, [A5 - 0x5DFC]
  5259. 00003602  45EA 020E                lea.l      A2, [A2 + 0x20E]
  5260. 00003606  41ED A086                lea.l      A0, [A5 - 0x5F7A]
  5261. 0000360A  43EF 0132                lea.l      A1, [A7 + 0x132]
  5262. 0000360E  704A                     moveq.l    D0, 0x4A
  5263. label00003610:
  5264. 00003610  22D8                     move.l     [A1]+, [A0]+
  5265. 00003612  51C8 FFFC                dbf        D0, -0x6 /* 00003610 */
  5266. 00003616  41ED 9F5A                lea.l      A0, [A5 - 0x60A6]
  5267. 0000361A  43EF 0006                lea.l      A1, [A7 + 0x6]
  5268. 0000361E  704A                     moveq.l    D0, 0x4A
  5269. label00003620:
  5270. 00003620  22D8                     move.l     [A1]+, [A0]+
  5271. 00003622  51C8 FFFC                dbf        D0, -0x6 /* 00003620 */
  5272. 00003626  4253                     clr.w      [A3]
  5273. 00003628  486D B664                pea.l      [A5 - 0x499C]
  5274. 0000362C  3F3C 012C                move.w     -[A7], 0x12C
  5275. 00003630  486D A1EE                pea.l      [A5 - 0x5E12]
  5276. 00003634  486F 026A                pea.l      [A7 + 0x26A]
  5277. 00003638  4EBA F92A                jsr        [PC - 0x6D6 /* 00002F64 */]
  5278. 0000363C  4A40                     tst.w      D0
  5279. 0000363E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5280. 00003642  660C                     bne        +0xE /* 00003650 */
  5281. 00003644  7005                     moveq.l    D0, 0x05
  5282. 00003646  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5283. 0000364A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5284. 0000364E  4E75                     rts
  5285. label00003650:
  5286. 00003650  3F2D A20C                move.w     -[A7], [A5 - 0x5DF4]
  5287. 00003654  3F2D A20A                move.w     -[A7], [A5 - 0x5DF6]
  5288. 00003658  3F2F 027C                move.w     -[A7], [A7 + 0x27C]
  5289. 0000365C  486D A20E                pea.l      [A5 - 0x5DF2]
  5290. 00003660  486F 0269                pea.l      [A7 + 0x269]
  5291. 00003664  4EBA F08C                jsr        [PC - 0xF74 /* 000026F2 */]
  5292. 00003668  3600                     move.w     D3, D0
  5293. 0000366A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5294. 0000366E  670C                     beq        +0xE /* 0000367C */
  5295. 00003670  3003                     move.w     D0, D3
  5296. 00003672  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5297. 00003676  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5298. 0000367A  4E75                     rts
  5299. label0000367C:
  5300. 0000367C  3A2F 0278                move.w     D5, [A7 + 0x278]
  5301. 00003680  3045                     movea.w    A0, D5
  5302. 00003682  2208                     move.l     D1, A0
  5303. 00003684  41EF 0132                lea.l      A0, [A7 + 0x132]
  5304. 00003688  226F 027A                movea.l    A1, [A7 + 0x27A]
  5305. 0000368C  2008                     move.l     D0, A0
  5306. 0000368E  4A81                     tst.l      D1
  5307. 00003690  6706                     beq        +0x8 /* 00003698 */
  5308. label00003692:
  5309. 00003692  10D9                     move.b     [A0]+, [A1]+
  5310. 00003694  5381                     subq.l     D1, 1
  5311. 00003696  66FA                     bne        -0x4 /* 00003692 */
  5312. label00003698:
  5313. 00003698  2F2F 027A                move.l     -[A7], [A7 + 0x27A]
  5314. 0000369C  4EBA 0982                jsr        [PC + 0x982 /* 00004020 */]
  5315. 000036A0  5540                     subq.w     D0, 2
  5316. 000036A2  584F                     addq.w     A7, 4
  5317. 000036A4  660C                     bne        +0xE /* 000036B2 */
  5318. 000036A6  700F                     moveq.l    D0, 0x0F
  5319. 000036A8  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5320. 000036AC  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5321. 000036B0  4E75                     rts
  5322. label000036B2:
  5323. 000036B2  4857                     pea.l      [A7]
  5324. 000036B4  486F 0006                pea.l      [A7 + 0x6]
  5325. 000036B8  4EBA F9FE                jsr        [PC - 0x602 /* 000030B8 */]
  5326. 000036BC  4EBA 0268                jsr        [PC + 0x268 /* 00003926 */]
  5327. 000036C0  486F 000C                pea.l      [A7 + 0xC]
  5328. 000036C4  3F3C 0004                move.w     -[A7], 0x4
  5329. 000036C8  4EBA 0724                jsr        [PC + 0x724 /* 00003DEE */]
  5330. 000036CC  3800                     move.w     D4, D0
  5331. 000036CE  306F 0012                movea.w    A0, [A7 + 0x12]
  5332. 000036D2  2008                     move.l     D0, A0
  5333. 000036D4  D1AD A1EE                add.l      [A5 - 0x5E12], D0
  5334. 000036D8  4EBA 024C                jsr        [PC + 0x24C /* 00003926 */]
  5335. 000036DC  486F 000E                pea.l      [A7 + 0xE]
  5336. 000036E0  486F 0014                pea.l      [A7 + 0x14]
  5337. 000036E4  4EBA F9D2                jsr        [PC - 0x62E /* 000030B8 */]
  5338. 000036E8  302F 0018                move.w     D0, [A7 + 0x18]
  5339. 000036EC  B06D A20A                cmp.w      D0, [A5 - 0x5DF6]
  5340. 000036F0  4FEF 0016                lea.l      A7, [A7 + 0x16]
  5341. 000036F4  670C                     beq        +0xE /* 00003702 */
  5342. 000036F6  7019                     moveq.l    D0, 0x19
  5343. 000036F8  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5344. 000036FC  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5345. 00003700  4E75                     rts
  5346. label00003702:
  5347. 00003702  3017                     move.w     D0, [A7]
  5348. 00003704  B06D A20C                cmp.w      D0, [A5 - 0x5DF4]
  5349. 00003708  670C                     beq        +0xE /* 00003716 */
  5350. 0000370A  7018                     moveq.l    D0, 0x18
  5351. 0000370C  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5352. 00003710  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5353. 00003714  4E75                     rts
  5354. label00003716:
  5355. 00003716  486F 0004                pea.l      [A7 + 0x4]
  5356. 0000371A  2F2D A1EE                move.l     -[A7], [A5 - 0x5E12]
  5357. 0000371E  4EBA 049A                jsr        [PC + 0x49A /* 00003BBA */]
  5358. 00003722  4A40                     tst.w      D0
  5359. 00003724  504F                     addq.w     A7, 8
  5360. 00003726  670C                     beq        +0xE /* 00003734 */
  5361. 00003728  700B                     moveq.l    D0, 0x0B
  5362. 0000372A  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5363. 0000372E  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5364. 00003732  4E75                     rts
  5365. label00003734:
  5366. 00003734  4878 001E                push.l     0x1E
  5367. 00003738  42A7                     clr.l      -[A7]
  5368. 0000373A  486F 0268                pea.l      [A7 + 0x268]
  5369. 0000373E  4EAD D94C                jsr        [A5 - 0x26B4]
  5370. 00003742  486D B664                pea.l      [A5 - 0x499C]
  5371. 00003746  3F3C 012C                move.w     -[A7], 0x12C
  5372. 0000374A  486D A1EE                pea.l      [A5 - 0x5E12]
  5373. 0000374E  486F 0276                pea.l      [A7 + 0x276]
  5374. 00003752  4EBA F810                jsr        [PC - 0x7F0 /* 00002F64 */]
  5375. 00003756  4A40                     tst.w      D0
  5376. 00003758  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  5377. 0000375C  660C                     bne        +0xE /* 0000376A */
  5378. 0000375E  7005                     moveq.l    D0, 0x05
  5379. 00003760  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5380. 00003764  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5381. 00003768  4E75                     rts
  5382. label0000376A:
  5383. 0000376A  3C2F 0278                move.w     D6, [A7 + 0x278]
  5384. 0000376E  3046                     movea.w    A0, D6
  5385. 00003770  2208                     move.l     D1, A0
  5386. 00003772  41EF 0006                lea.l      A0, [A7 + 0x6]
  5387. 00003776  226F 027A                movea.l    A1, [A7 + 0x27A]
  5388. 0000377A  2008                     move.l     D0, A0
  5389. 0000377C  4A81                     tst.l      D1
  5390. 0000377E  6706                     beq        +0x8 /* 00003786 */
  5391. label00003780:
  5392. 00003780  10D9                     move.b     [A0]+, [A1]+
  5393. 00003782  5381                     subq.l     D1, 1
  5394. 00003784  66FA                     bne        -0x4 /* 00003780 */
  5395. label00003786:
  5396. 00003786  2F2F 027A                move.l     -[A7], [A7 + 0x27A]
  5397. 0000378A  4EBA 0894                jsr        [PC + 0x894 /* 00004020 */]
  5398. 0000378E  5540                     subq.w     D0, 2
  5399. 00003790  584F                     addq.w     A7, 4
  5400. 00003792  660C                     bne        +0xE /* 000037A0 */
  5401. 00003794  700F                     moveq.l    D0, 0x0F
  5402. 00003796  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5403. 0000379A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5404. 0000379E  4E75                     rts
  5405. label000037A0:
  5406. 000037A0  486F 0006                pea.l      [A7 + 0x6]
  5407. 000037A4  486F 0136                pea.l      [A7 + 0x136]
  5408. 000037A8  4EBA F85A                jsr        [PC - 0x7A6 /* 00003004 */]
  5409. 000037AC  2800                     move.l     D4, D0
  5410. 000037AE  4A84                     tst.l      D4
  5411. 000037B0  504F                     addq.w     A7, 8
  5412. 000037B2  666A                     bne        +0x6C /* 0000381E */
  5413. 000037B4  486F 0260                pea.l      [A7 + 0x260]
  5414. 000037B8  4EBA 049C                jsr        [PC + 0x49C /* 00003C56 */]
  5415. 000037BC  4A40                     tst.w      D0
  5416. 000037BE  584F                     addq.w     A7, 4
  5417. 000037C0  670C                     beq        +0xE /* 000037CE */
  5418. 000037C2  7000                     moveq.l    D0, 0x00
  5419. 000037C4  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5420. 000037C8  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5421. 000037CC  4E75                     rts
  5422. label000037CE:
  5423. 000037CE  36BC 0001                move.w     [A3], 0x1
  5424. 000037D2  3F2D A20C                move.w     -[A7], [A5 - 0x5DF4]
  5425. 000037D6  3F2D A20A                move.w     -[A7], [A5 - 0x5DF6]
  5426. 000037DA  3F05                     move.w     -[A7], D5
  5427. 000037DC  486F 0138                pea.l      [A7 + 0x138]
  5428. 000037E0  486F 0269                pea.l      [A7 + 0x269]
  5429. 000037E4  4EBA EF0C                jsr        [PC - 0x10F4 /* 000026F2 */]
  5430. 000037E8  3600                     move.w     D3, D0
  5431. 000037EA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5432. 000037EE  6600 012A                bne        +0x12C /* 0000391A */
  5433. 000037F2  102F 025F                move.b     D0, [A7 + 0x25F]
  5434. 000037F6  4880                     ext.w      D0
  5435. 000037F8  3F00                     move.w     -[A7], D0
  5436. 000037FA  3F3C 0001                move.w     -[A7], 0x1
  5437. 000037FE  3F2D A202                move.w     -[A7], [A5 - 0x5DFE]
  5438. 00003802  102D A1FE                move.b     D0, [A5 - 0x5E02]
  5439. 00003806  4880                     ext.w      D0
  5440. 00003808  3F00                     move.w     -[A7], D0
  5441. 0000380A  102D A1FA                move.b     D0, [A5 - 0x5E06]
  5442. 0000380E  4880                     ext.w      D0
  5443. 00003810  3F00                     move.w     -[A7], D0
  5444. 00003812  4EBA F0EC                jsr        [PC - 0xF14 /* 00002900 */]
  5445. 00003816  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5446. 0000381A  6000 00FE                bra        +0x100 /* 0000391A */
  5447. label0000381E:
  5448. 0000381E  4A84                     tst.l      D4
  5449. 00003820  6C00 00F2                bge        +0xF4 /* 00003914 */
  5450. 00003824  36BC 0002                move.w     [A3], 0x2
  5451. 00003828  3F12                     move.w     -[A7], [A2]
  5452. 0000382A  3F3C 0004                move.w     -[A7], 0x4
  5453. 0000382E  3F2D A202                move.w     -[A7], [A5 - 0x5DFE]
  5454. 00003832  4267                     clr.w      -[A7]
  5455. 00003834  102D A1FA                move.b     D0, [A5 - 0x5E06]
  5456. 00003838  4880                     ext.w      D0
  5457. 0000383A  3F00                     move.w     -[A7], D0
  5458. 0000383C  4EBA F0C2                jsr        [PC - 0xF3E /* 00002900 */]
  5459. 00003840  382A 000C                move.w     D4, [A2 + 0xC]
  5460. 00003844  3A2A 000E                move.w     D5, [A2 + 0xE]
  5461. 00003848  266A 0008                movea.l    A3, [A2 + 0x8]
  5462. 0000384C  4EBA F5BC                jsr        [PC - 0xA44 /* 00002E0A */]
  5463. 00003850  4A40                     tst.w      D0
  5464. 00003852  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5465. 00003856  670C                     beq        +0xE /* 00003864 */
  5466. 00003858  7001                     moveq.l    D0, 0x01
  5467. 0000385A  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5468. 0000385E  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5469. 00003862  4E75                     rts
  5470. label00003864:
  5471. 00003864  102F 025F                move.b     D0, [A7 + 0x25F]
  5472. 00003868  4880                     ext.w      D0
  5473. 0000386A  3F00                     move.w     -[A7], D0
  5474. 0000386C  4878 0001                push.l     0x1
  5475. 00003870  2F3C 0004 0000           move.l     -[A7], 0x40000
  5476. 00003876  4EBA F088                jsr        [PC - 0xF78 /* 00002900 */]
  5477. 0000387A  206A 0008                movea.l    A0, [A2 + 0x8]
  5478. 0000387E  302A 000C                move.w     D0, [A2 + 0xC]
  5479. 00003882  11BC 0002 00FE           move.b     [A0 + D0.w - 0x2], 0x2
  5480. 00003888  206A 0008                movea.l    A0, [A2 + 0x8]
  5481. 0000388C  302A 000C                move.w     D0, [A2 + 0xC]
  5482. 00003890  11BC 0001 00FF           move.b     [A0 + D0.w - 0x1], 0x1
  5483. 00003896  3F2D A20C                move.w     -[A7], [A5 - 0x5DF4]
  5484. 0000389A  3F2D A20A                move.w     -[A7], [A5 - 0x5DF6]
  5485. 0000389E  3F06                     move.w     -[A7], D6
  5486. 000038A0  486F 0016                pea.l      [A7 + 0x16]
  5487. 000038A4  486F 0273                pea.l      [A7 + 0x273]
  5488. 000038A8  4EBA EE48                jsr        [PC - 0x11B8 /* 000026F2 */]
  5489. 000038AC  3600                     move.w     D3, D0
  5490. 000038AE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5491. 000038B2  6666                     bne        +0x68 /* 0000391A */
  5492. 000038B4  102F 025F                move.b     D0, [A7 + 0x25F]
  5493. 000038B8  4880                     ext.w      D0
  5494. 000038BA  3F00                     move.w     -[A7], D0
  5495. 000038BC  4878 0001                push.l     0x1
  5496. 000038C0  2F3C 0004 0000           move.l     -[A7], 0x40000
  5497. 000038C6  4EBA F038                jsr        [PC - 0xFC8 /* 00002900 */]
  5498. 000038CA  556A 000C                subq.w     [A2 + 0xC], 2
  5499. 000038CE  302A 000C                move.w     D0, [A2 + 0xC]
  5500. 000038D2  526A 000C                addq.w     [A2 + 0xC], 1
  5501. 000038D6  206A 0008                movea.l    A0, [A2 + 0x8]
  5502. 000038DA  11BC 0002 0000           move.b     [A0 + D0.w], 0x2
  5503. 000038E0  302A 000C                move.w     D0, [A2 + 0xC]
  5504. 000038E4  526A 000C                addq.w     [A2 + 0xC], 1
  5505. 000038E8  206A 0008                movea.l    A0, [A2 + 0x8]
  5506. 000038EC  11BC 0001 0000           move.b     [A0 + D0.w], 0x1
  5507. 000038F2  302A 000C                move.w     D0, [A2 + 0xC]
  5508. 000038F6  526A 000C                addq.w     [A2 + 0xC], 1
  5509. 000038FA  206A 0008                movea.l    A0, [A2 + 0x8]
  5510. 000038FE  4230 0000                clr.b      [A0 + D0.w]
  5511. 00003902  3544 000C                move.w     [A2 + 0xC], D4
  5512. 00003906  3545 000E                move.w     [A2 + 0xE], D5
  5513. 0000390A  254B 0008                move.l     [A2 + 0x8], A3
  5514. 0000390E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5515. 00003912  6006                     bra        +0x8 /* 0000391A */
  5516. label00003914:
  5517. 00003914  4A84                     tst.l      D4
  5518. 00003916  6F02                     ble        +0x4 /* 0000391A */
  5519. 00003918  7616                     moveq.l    D3, 0x16
  5520. label0000391A:
  5521. 0000391A  3003                     move.w     D0, D3
  5522. 0000391C  4FEF 027E                lea.l      A7, [A7 + 0x27E]
  5523. 00003920  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5524. 00003924  4E75                     rts
  5525. fn00003926:
  5526. 00003926  6004                     bra        +0x6 /* 0000392C */
  5527. label00003928:
  5528. 00003928  52AD A1EE                addq.l     [A5 - 0x5E12], 1
  5529. label0000392C:
  5530. 0000392C  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  5531. 00003930  7000                     moveq.l    D0, 0x00
  5532. 00003932  1010                     move.b     D0, [A0]
  5533. 00003934  206D 1B8C                movea.l    A0, [A5 + 0x1B8C]
  5534. 00003938  1030 0000                move.b     D0, [A0 + D0.w]
  5535. 0000393C  7244                     moveq.l    D1, 0x44
  5536. 0000393E  C081                     and.l      D0, D1
  5537. 00003940  66E6                     bne        -0x18 /* 00003928 */
  5538. 00003942  4E75                     rts
  5539. fn00003944:
  5540. 00003944  226F 0004                movea.l    A1, [A7 + 0x4]
  5541. 00003948  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  5542. 0000394C  4251                     clr.w      [A1]
  5543. 0000394E  0C10 0056                cmpi.b     [A0], 0x56 /* 'V' */
  5544. 00003952  6706                     beq        +0x8 /* 0000395A */
  5545. 00003954  0C10 0076                cmpi.b     [A0], 0x76 /* 'v' */
  5546. 00003958  6646                     bne        +0x48 /* 000039A0 */
  5547. label0000395A:
  5548. 0000395A  5288                     addq.l     A0, 1
  5549. 0000395C  0C10 0046                cmpi.b     [A0], 0x46 /* 'F' */
  5550. 00003960  6706                     beq        +0x8 /* 00003968 */
  5551. 00003962  0C10 0066                cmpi.b     [A0], 0x66 /* 'f' */
  5552. 00003966  6638                     bne        +0x3A /* 000039A0 */
  5553. label00003968:
  5554. 00003968  5288                     addq.l     A0, 1
  5555. 0000396A  0C10 004C                cmpi.b     [A0], 0x4C /* 'L' */
  5556. 0000396E  6706                     beq        +0x8 /* 00003976 */
  5557. 00003970  0C10 006C                cmpi.b     [A0], 0x6C /* 'l' */
  5558. 00003974  662A                     bne        +0x2C /* 000039A0 */
  5559. label00003976:
  5560. 00003976  5288                     addq.l     A0, 1
  5561. 00003978  0C10 0044                cmpi.b     [A0], 0x44 /* 'D' */
  5562. 0000397C  6706                     beq        +0x8 /* 00003984 */
  5563. 0000397E  0C10 0064                cmpi.b     [A0], 0x64 /* 'd' */
  5564. 00003982  661C                     bne        +0x1E /* 000039A0 */
  5565. label00003984:
  5566. 00003984  5288                     addq.l     A0, 1
  5567. 00003986  4A10                     tst.b      [A0]
  5568. 00003988  6608                     bne        +0xA /* 00003992 */
  5569. 0000398A  32BC 0004                move.w     [A1], 0x4
  5570. 0000398E  7001                     moveq.l    D0, 0x01
  5571. 00003990  4E75                     rts
  5572. label00003992:
  5573. 00003992  0C10 0020                cmpi.b     [A0], 0x20 /* ' ' */
  5574. 00003996  6608                     bne        +0xA /* 000039A0 */
  5575. 00003998  32BC 0005                move.w     [A1], 0x5
  5576. 0000399C  7001                     moveq.l    D0, 0x01
  5577. 0000399E  4E75                     rts
  5578. label000039A0:
  5579. 000039A0  7000                     moveq.l    D0, 0x00
  5580. 000039A2  4E75                     rts
  5581. fn000039A4:
  5582. 000039A4  226F 0004                movea.l    A1, [A7 + 0x4]
  5583. 000039A8  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  5584. 000039AC  4251                     clr.w      [A1]
  5585. 000039AE  0C10 0044                cmpi.b     [A0], 0x44 /* 'D' */
  5586. 000039B2  6706                     beq        +0x8 /* 000039BA */
  5587. 000039B4  0C10 0064                cmpi.b     [A0], 0x64 /* 'd' */
  5588. 000039B8  6654                     bne        +0x56 /* 00003A0E */
  5589. label000039BA:
  5590. 000039BA  5288                     addq.l     A0, 1
  5591. 000039BC  0C10 0054                cmpi.b     [A0], 0x54 /* 'T' */
  5592. 000039C0  6706                     beq        +0x8 /* 000039C8 */
  5593. 000039C2  0C10 0074                cmpi.b     [A0], 0x74 /* 't' */
  5594. 000039C6  6646                     bne        +0x48 /* 00003A0E */
  5595. label000039C8:
  5596. 000039C8  5288                     addq.l     A0, 1
  5597. 000039CA  0C10 0059                cmpi.b     [A0], 0x59 /* 'Y' */
  5598. 000039CE  6706                     beq        +0x8 /* 000039D6 */
  5599. 000039D0  0C10 0079                cmpi.b     [A0], 0x79 /* 'y' */
  5600. 000039D4  6638                     bne        +0x3A /* 00003A0E */
  5601. label000039D6:
  5602. 000039D6  5288                     addq.l     A0, 1
  5603. 000039D8  0C10 0050                cmpi.b     [A0], 0x50 /* 'P' */
  5604. 000039DC  6706                     beq        +0x8 /* 000039E4 */
  5605. 000039DE  0C10 0070                cmpi.b     [A0], 0x70 /* 'p' */
  5606. 000039E2  662A                     bne        +0x2C /* 00003A0E */
  5607. label000039E4:
  5608. 000039E4  5288                     addq.l     A0, 1
  5609. 000039E6  0C10 0045                cmpi.b     [A0], 0x45 /* 'E' */
  5610. 000039EA  6706                     beq        +0x8 /* 000039F2 */
  5611. 000039EC  0C10 0065                cmpi.b     [A0], 0x65 /* 'e' */
  5612. 000039F0  661C                     bne        +0x1E /* 00003A0E */
  5613. label000039F2:
  5614. 000039F2  5288                     addq.l     A0, 1
  5615. 000039F4  4A10                     tst.b      [A0]
  5616. 000039F6  6608                     bne        +0xA /* 00003A00 */
  5617. 000039F8  32BC 0005                move.w     [A1], 0x5
  5618. 000039FC  7001                     moveq.l    D0, 0x01
  5619. 000039FE  4E75                     rts
  5620. label00003A00:
  5621. 00003A00  0C10 0020                cmpi.b     [A0], 0x20 /* ' ' */
  5622. 00003A04  6608                     bne        +0xA /* 00003A0E */
  5623. 00003A06  32BC 0006                move.w     [A1], 0x6
  5624. 00003A0A  7001                     moveq.l    D0, 0x01
  5625. 00003A0C  4E75                     rts
  5626. label00003A0E:
  5627. 00003A0E  7000                     moveq.l    D0, 0x00
  5628. 00003A10  4E75                     rts
  5629. fn00003A12:
  5630. 00003A12  48E7 1030                movem.l    -[A7], D3,A2,A3
  5631. 00003A16  4FEF FFDA                lea.l      A7, [A7 - 0x26]
  5632. 00003A1A  246F 0036                movea.l    A2, [A7 + 0x36]
  5633. 00003A1E  2F6D A1EE 0004           move.l     [A7 + 0x4], [A5 - 0x5E12]
  5634. 00003A24  266F 0004                movea.l    A3, [A7 + 0x4]
  5635. 00003A28  41ED 9F3C                lea.l      A0, [A5 - 0x60C4]
  5636. 00003A2C  43EF 0008                lea.l      A1, [A7 + 0x8]
  5637. 00003A30  7006                     moveq.l    D0, 0x06
  5638. label00003A32:
  5639. 00003A32  22D8                     move.l     [A1]+, [A0]+
  5640. 00003A34  51C8 FFFC                dbf        D0, -0x6 /* 00003A32 */
  5641. 00003A38  32D8                     move.w     [A1]+, [A0]+
  5642. 00003A3A  7600                     moveq.l    D3, 0x00
  5643. 00003A3C  4257                     clr.w      [A7]
  5644. 00003A3E  4252                     clr.w      [A2]
  5645. 00003A40  486D B667                pea.l      [A5 - 0x4999]
  5646. 00003A44  3F3C 012C                move.w     -[A7], 0x12C
  5647. 00003A48  486F 000A                pea.l      [A7 + 0xA]
  5648. 00003A4C  486F 0012                pea.l      [A7 + 0x12]
  5649. 00003A50  4EBA F512                jsr        [PC - 0xAEE /* 00002F64 */]
  5650. 00003A54  3600                     move.w     D3, D0
  5651. 00003A56  4A43                     tst.w      D3
  5652. 00003A58  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5653. 00003A5C  6626                     bne        +0x28 /* 00003A84 */
  5654. 00003A5E  4252                     clr.w      [A2]
  5655. 00003A60  4A6F 001A                tst.w      [A7 + 0x1A]
  5656. 00003A64  670C                     beq        +0xE /* 00003A72 */
  5657. 00003A66  7005                     moveq.l    D0, 0x05
  5658. 00003A68  4FEF 0026                lea.l      A7, [A7 + 0x26]
  5659. 00003A6C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5660. 00003A70  4E75                     rts
  5661. label00003A72:
  5662. 00003A72  2B6F 000C A1EE           move.l     [A5 - 0x5E12], [A7 + 0xC]
  5663. 00003A78  7000                     moveq.l    D0, 0x00
  5664. 00003A7A  4FEF 0026                lea.l      A7, [A7 + 0x26]
  5665. 00003A7E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5666. 00003A82  4E75                     rts
  5667. label00003A84:
  5668. 00003A84  2B6F 0004 A1EE           move.l     [A5 - 0x5E12], [A7 + 0x4]
  5669. 00003A8A  4EBA FE9A                jsr        [PC - 0x166 /* 00003926 */]
  5670. 00003A8E  4857                     pea.l      [A7]
  5671. 00003A90  3F3C 0004                move.w     -[A7], 0x4
  5672. 00003A94  4EBA 0358                jsr        [PC + 0x358 /* 00003DEE */]
  5673. 00003A98  4A40                     tst.w      D0
  5674. 00003A9A  5C4F                     addq.w     A7, 6
  5675. 00003A9C  6600 0088                bne        +0x8A /* 00003B26 */
  5676. 00003AA0  422F 0003                clr.b      [A7 + 0x3]
  5677. 00003AA4  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  5678. 00003AA8  4EBA 0576                jsr        [PC + 0x576 /* 00004020 */]
  5679. 00003AAC  5540                     subq.w     D0, 2
  5680. 00003AAE  584F                     addq.w     A7, 4
  5681. 00003AB0  660C                     bne        +0xE /* 00003ABE */
  5682. 00003AB2  700F                     moveq.l    D0, 0x0F
  5683. 00003AB4  4FEF 0026                lea.l      A7, [A7 + 0x26]
  5684. 00003AB8  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5685. 00003ABC  4E75                     rts
  5686. label00003ABE:
  5687. 00003ABE  486F 0008                pea.l      [A7 + 0x8]
  5688. 00003AC2  4EBA 0192                jsr        [PC + 0x192 /* 00003C56 */]
  5689. 00003AC6  4A40                     tst.w      D0
  5690. 00003AC8  584F                     addq.w     A7, 4
  5691. 00003ACA  670C                     beq        +0xE /* 00003AD8 */
  5692. 00003ACC  7000                     moveq.l    D0, 0x00
  5693. 00003ACE  4FEF 0026                lea.l      A7, [A7 + 0x26]
  5694. 00003AD2  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5695. 00003AD6  4E75                     rts
  5696. label00003AD8:
  5697. 00003AD8  34BC 0001                move.w     [A2], 0x1
  5698. 00003ADC  3F2D A20C                move.w     -[A7], [A5 - 0x5DF4]
  5699. 00003AE0  3F2D A20A                move.w     -[A7], [A5 - 0x5DF6]
  5700. 00003AE4  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  5701. 00003AE8  486D A20E                pea.l      [A5 - 0x5DF2]
  5702. 00003AEC  486F 000D                pea.l      [A7 + 0xD]
  5703. 00003AF0  4EBA EC00                jsr        [PC - 0x1400 /* 000026F2 */]
  5704. 00003AF4  3600                     move.w     D3, D0
  5705. 00003AF6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5706. 00003AFA  6638                     bne        +0x3A /* 00003B34 */
  5707. 00003AFC  102F 0003                move.b     D0, [A7 + 0x3]
  5708. 00003B00  4880                     ext.w      D0
  5709. 00003B02  3F00                     move.w     -[A7], D0
  5710. 00003B04  3F3C 0001                move.w     -[A7], 0x1
  5711. 00003B08  3F2D A202                move.w     -[A7], [A5 - 0x5DFE]
  5712. 00003B0C  102D A1FE                move.b     D0, [A5 - 0x5E02]
  5713. 00003B10  4880                     ext.w      D0
  5714. 00003B12  3F00                     move.w     -[A7], D0
  5715. 00003B14  102D A1FA                move.b     D0, [A5 - 0x5E06]
  5716. 00003B18  4880                     ext.w      D0
  5717. 00003B1A  3F00                     move.w     -[A7], D0
  5718. 00003B1C  4EBA EDE2                jsr        [PC - 0x121E /* 00002900 */]
  5719. 00003B20  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5720. 00003B24  600E                     bra        +0x10 /* 00003B34 */
  5721. label00003B26:
  5722. 00003B26  2B4B A1EE                move.l     [A5 - 0x5E12], A3
  5723. 00003B2A  2F0A                     move.l     -[A7], A2
  5724. 00003B2C  4EBA FAAC                jsr        [PC - 0x554 /* 000035DA */]
  5725. 00003B30  3600                     move.w     D3, D0
  5726. 00003B32  584F                     addq.w     A7, 4
  5727. label00003B34:
  5728. 00003B34  3003                     move.w     D0, D3
  5729. 00003B36  4FEF 0026                lea.l      A7, [A7 + 0x26]
  5730. 00003B3A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5731. 00003B3E  4E75                     rts
  5732. fn00003B40:
  5733. 00003B40  2F0A                     move.l     -[A7], A2
  5734. 00003B42  206D A1EE                movea.l    A0, [A5 - 0x5E12]
  5735. 00003B46  4A10                     tst.b      [A0]
  5736. 00003B48  6706                     beq        +0x8 /* 00003B50 */
  5737. 00003B4A  700B                     moveq.l    D0, 0x0B
  5738. 00003B4C  245F                     movea.l    A2, [A7]+
  5739. 00003B4E  4E75                     rts
  5740. label00003B50:
  5741. 00003B50  4A6F 0008                tst.w      [A7 + 0x8]
  5742. 00003B54  6606                     bne        +0x8 /* 00003B5C */
  5743. 00003B56  7008                     moveq.l    D0, 0x08
  5744. 00003B58  245F                     movea.l    A2, [A7]+
  5745. 00003B5A  4E75                     rts
  5746. label00003B5C:
  5747. 00003B5C  206D A204                movea.l    A0, [A5 - 0x5DFC]
  5748. 00003B60  3028 021A                move.w     D0, [A0 + 0x21A]
  5749. 00003B64  48C0                     ext.l      D0
  5750. 00003B66  7202                     moveq.l    D1, 0x02
  5751. 00003B68  B081                     cmp.l      D0, D1
  5752. 00003B6A  6F48                     ble        +0x4A /* 00003BB4 */
  5753. 00003B6C  2448                     movea.l    A2, A0
  5754. 00003B6E  45EA 020E                lea.l      A2, [A2 + 0x20E]
  5755. 00003B72  556A 000C                subq.w     [A2 + 0xC], 2
  5756. 00003B76  302A 000C                move.w     D0, [A2 + 0xC]
  5757. 00003B7A  526A 000C                addq.w     [A2 + 0xC], 1
  5758. 00003B7E  206A 0008                movea.l    A0, [A2 + 0x8]
  5759. 00003B82  11BC 0002 0000           move.b     [A0 + D0.w], 0x2
  5760. 00003B88  302A 000C                move.w     D0, [A2 + 0xC]
  5761. 00003B8C  526A 000C                addq.w     [A2 + 0xC], 1
  5762. 00003B90  206A 0008                movea.l    A0, [A2 + 0x8]
  5763. 00003B94  11BC 0001 0000           move.b     [A0 + D0.w], 0x1
  5764. 00003B9A  302A 000C                move.w     D0, [A2 + 0xC]
  5765. 00003B9E  526A 000C                addq.w     [A2 + 0xC], 1
  5766. 00003BA2  206A 0008                movea.l    A0, [A2 + 0x8]
  5767. 00003BA6  4230 0000                clr.b      [A0 + D0.w]
  5768. 00003BAA  4A6D A1FC                tst.w      [A5 - 0x5E04]
  5769. 00003BAE  6704                     beq        +0x6 /* 00003BB4 */
  5770. 00003BB0  4EBA F4B2                jsr        [PC - 0xB4E /* 00003064 */]
  5771. label00003BB4:
  5772. 00003BB4  7000                     moveq.l    D0, 0x00
  5773. 00003BB6  245F                     movea.l    A2, [A7]+
  5774. 00003BB8  4E75                     rts
  5775. fn00003BBA:
  5776. 00003BBA  2F0A                     move.l     -[A7], A2
  5777. 00003BBC  246F 000C                movea.l    A2, [A7 + 0xC]
  5778. 00003BC0  2F0A                     move.l     -[A7], A2
  5779. 00003BC2  4267                     clr.w      -[A7]
  5780. 00003BC4  4EBA 0228                jsr        [PC + 0x228 /* 00003DEE */]
  5781. 00003BC8  4A40                     tst.w      D0
  5782. 00003BCA  5C4F                     addq.w     A7, 6
  5783. 00003BCC  6706                     beq        +0x8 /* 00003BD4 */
  5784. 00003BCE  7001                     moveq.l    D0, 0x01
  5785. 00003BD0  245F                     movea.l    A2, [A7]+
  5786. 00003BD2  4E75                     rts
  5787. label00003BD4:
  5788. 00003BD4  2F0A                     move.l     -[A7], A2
  5789. 00003BD6  3F3C 0001                move.w     -[A7], 0x1
  5790. 00003BDA  4EBA 0212                jsr        [PC + 0x212 /* 00003DEE */]
  5791. 00003BDE  4A40                     tst.w      D0
  5792. 00003BE0  5C4F                     addq.w     A7, 6
  5793. 00003BE2  6706                     beq        +0x8 /* 00003BEA */
  5794. 00003BE4  7001                     moveq.l    D0, 0x01
  5795. 00003BE6  245F                     movea.l    A2, [A7]+
  5796. 00003BE8  4E75                     rts
  5797. label00003BEA:
  5798. 00003BEA  2F0A                     move.l     -[A7], A2
  5799. 00003BEC  3F3C 0002                move.w     -[A7], 0x2
  5800. 00003BF0  4EBA 01FC                jsr        [PC + 0x1FC /* 00003DEE */]
  5801. 00003BF4  4A40                     tst.w      D0
  5802. 00003BF6  5C4F                     addq.w     A7, 6
  5803. 00003BF8  6706                     beq        +0x8 /* 00003C00 */
  5804. 00003BFA  7001                     moveq.l    D0, 0x01
  5805. 00003BFC  245F                     movea.l    A2, [A7]+
  5806. 00003BFE  4E75                     rts
  5807. label00003C00:
  5808. 00003C00  2F0A                     move.l     -[A7], A2
  5809. 00003C02  3F3C 0003                move.w     -[A7], 0x3
  5810. 00003C06  4EBA 01E6                jsr        [PC + 0x1E6 /* 00003DEE */]
  5811. 00003C0A  4A40                     tst.w      D0
  5812. 00003C0C  5C4F                     addq.w     A7, 6
  5813. 00003C0E  6706                     beq        +0x8 /* 00003C16 */
  5814. 00003C10  7001                     moveq.l    D0, 0x01
  5815. 00003C12  245F                     movea.l    A2, [A7]+
  5816. 00003C14  4E75                     rts
  5817. label00003C16:
  5818. 00003C16  2F0A                     move.l     -[A7], A2
  5819. 00003C18  3F3C 0004                move.w     -[A7], 0x4
  5820. 00003C1C  4EBA 01D0                jsr        [PC + 0x1D0 /* 00003DEE */]
  5821. 00003C20  4A40                     tst.w      D0
  5822. 00003C22  5C4F                     addq.w     A7, 6
  5823. 00003C24  6706                     beq        +0x8 /* 00003C2C */
  5824. 00003C26  7001                     moveq.l    D0, 0x01
  5825. 00003C28  245F                     movea.l    A2, [A7]+
  5826. 00003C2A  4E75                     rts
  5827. label00003C2C:
  5828. 00003C2C  2F0A                     move.l     -[A7], A2
  5829. 00003C2E  4EBA FD14                jsr        [PC - 0x2EC /* 00003944 */]
  5830. 00003C32  4A40                     tst.w      D0
  5831. 00003C34  584F                     addq.w     A7, 4
  5832. 00003C36  6706                     beq        +0x8 /* 00003C3E */
  5833. 00003C38  7001                     moveq.l    D0, 0x01
  5834. 00003C3A  245F                     movea.l    A2, [A7]+
  5835. 00003C3C  4E75                     rts
  5836. label00003C3E:
  5837. 00003C3E  2F0A                     move.l     -[A7], A2
  5838. 00003C40  4EBA FD62                jsr        [PC - 0x29E /* 000039A4 */]
  5839. 00003C44  4A40                     tst.w      D0
  5840. 00003C46  584F                     addq.w     A7, 4
  5841. 00003C48  6706                     beq        +0x8 /* 00003C50 */
  5842. 00003C4A  7001                     moveq.l    D0, 0x01
  5843. 00003C4C  245F                     movea.l    A2, [A7]+
  5844. 00003C4E  4E75                     rts
  5845. label00003C50:
  5846. 00003C50  7000                     moveq.l    D0, 0x00
  5847. 00003C52  245F                     movea.l    A2, [A7]+
  5848. 00003C54  4E75                     rts
  5849. fn00003C56:
  5850. 00003C56  48E7 1030                movem.l    -[A7], D3,A2,A3
  5851. 00003C5A  266F 0010                movea.l    A3, [A7 + 0x10]
  5852. 00003C5E  95CA                     sub.l      A2, A2
  5853. 00003C60  7600                     moveq.l    D3, 0x00
  5854. 00003C62  3F3C 0001                move.w     -[A7], 0x1
  5855. 00003C66  4EBA 0150                jsr        [PC + 0x150 /* 00003DB8 */]
  5856. 00003C6A  2448                     movea.l    A2, A0
  5857. 00003C6C  7062                     moveq.l    D0, 0x62
  5858. 00003C6E  C1ED A20C                muls.w     D0, [A5 - 0x5DF4]
  5859. 00003C72  D5C0                     add.l      A2, D0
  5860. 00003C74  4AAA 0002                tst.l      [A2 + 0x2]
  5861. 00003C78  544F                     addq.w     A7, 2
  5862. 00003C7A  6748                     beq        +0x4A /* 00003CC4 */
  5863. 00003C7C  4AAA 0036                tst.l      [A2 + 0x36]
  5864. 00003C80  6710                     beq        +0x12 /* 00003C92 */
  5865. 00003C82  2F2B 001A                move.l     -[A7], [A3 + 0x1A]
  5866. 00003C86  206A 0036                movea.l    A0, [A2 + 0x36]
  5867. 00003C8A  4E90                     jsr        [A0]
  5868. 00003C8C  4A40                     tst.w      D0
  5869. 00003C8E  584F                     addq.w     A7, 4
  5870. 00003C90  6632                     bne        +0x34 /* 00003CC4 */
  5871. label00003C92:
  5872. 00003C92  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  5873. 00003C96  4EAD EE18                jsr        [A5 - 0x11E8]
  5874. 00003C9A  2548 0006                move.l     [A2 + 0x6], A0
  5875. 00003C9E  3F2B 0018                move.w     -[A7], [A3 + 0x18]
  5876. 00003CA2  2F2B 001A                move.l     -[A7], [A3 + 0x1A]
  5877. 00003CA6  486A 0002                pea.l      [A2 + 0x2]
  5878. 00003CAA  2F2A 0022                move.l     -[A7], [A2 + 0x22]
  5879. 00003CAE  4EBA 0024                jsr        [PC + 0x24 /* 00003CD4 */]
  5880. 00003CB2  3600                     move.w     D3, D0
  5881. 00003CB4  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  5882. 00003CB8  4EAD EE20                jsr        [A5 - 0x11E0]
  5883. 00003CBC  42AA 0006                clr.l      [A2 + 0x6]
  5884. 00003CC0  4FEF 0016                lea.l      A7, [A7 + 0x16]
  5885. label00003CC4:
  5886. 00003CC4  4267                     clr.w      -[A7]
  5887. 00003CC6  4EBA 00F0                jsr        [PC + 0xF0 /* 00003DB8 */]
  5888. 00003CCA  3003                     move.w     D0, D3
  5889. 00003CCC  544F                     addq.w     A7, 2
  5890. 00003CCE  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5891. 00003CD2  4E75                     rts
  5892. fn00003CD4:
  5893. 00003CD4  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  5894. 00003CD8  286F 001C                movea.l    A4, [A7 + 0x1C]
  5895. 00003CDC  2C6F 0020                movea.l    A6, [A7 + 0x20]
  5896. 00003CE0  266F 0024                movea.l    A3, [A7 + 0x24]
  5897. 00003CE4  246E 0004                movea.l    A2, [A6 + 0x4]
  5898. 00003CE8  262E 000C                move.l     D3, [A6 + 0xC]
  5899. 00003CEC  4AAE 000C                tst.l      [A6 + 0xC]
  5900. 00003CF0  6608                     bne        +0xA /* 00003CFA */
  5901. 00003CF2  7000                     moveq.l    D0, 0x00
  5902. 00003CF4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5903. 00003CF8  4E75                     rts
  5904. label00003CFA:
  5905. 00003CFA  4872 3809                pea.l      [A2 + D3 + 0x9]
  5906. 00003CFE  2F0B                     move.l     -[A7], A3
  5907. 00003D00  4E94                     jsr        [A4]
  5908. 00003D02  3800                     move.w     D4, D0
  5909. 00003D04  3004                     move.w     D0, D4
  5910. 00003D06  48C0                     ext.l      D0
  5911. 00003D08  4A80                     tst.l      D0
  5912. 00003D0A  504F                     addq.w     A7, 8
  5913. 00003D0C  6C14                     bge        +0x16 /* 00003D22 */
  5914. 00003D0E  4AB2 3800                tst.l      [A2 + D3]
  5915. 00003D12  6706                     beq        +0x8 /* 00003D1A */
  5916. 00003D14  2632 3800                move.l     D3, [A2 + D3]
  5917. 00003D18  60E0                     bra        -0x1E /* 00003CFA */
  5918. label00003D1A:
  5919. 00003D1A  7000                     moveq.l    D0, 0x00
  5920. 00003D1C  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5921. 00003D20  4E75                     rts
  5922. label00003D22:
  5923. 00003D22  3004                     move.w     D0, D4
  5924. 00003D24  48C0                     ext.l      D0
  5925. 00003D26  4A80                     tst.l      D0
  5926. 00003D28  6F14                     ble        +0x16 /* 00003D3E */
  5927. 00003D2A  4AB2 3804                tst.l      [A2 + D3 + 0x4]
  5928. 00003D2E  6706                     beq        +0x8 /* 00003D36 */
  5929. 00003D30  2632 3804                move.l     D3, [A2 + D3 + 0x4]
  5930. 00003D34  60C4                     bra        -0x3A /* 00003CFA */
  5931. label00003D36:
  5932. 00003D36  7000                     moveq.l    D0, 0x00
  5933. 00003D38  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5934. 00003D3C  4E75                     rts
  5935. label00003D3E:
  5936. 00003D3E  7001                     moveq.l    D0, 0x01
  5937. 00003D40  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5938. 00003D44  4E75                     rts
  5939. fn00003D46:
  5940. 00003D46  48E7 0030                movem.l    -[A7], A2,A3
  5941. 00003D4A  246D A204                movea.l    A2, [A5 - 0x5DFC]
  5942. 00003D4E  45EA 020E                lea.l      A2, [A2 + 0x20E]
  5943. 00003D52  5352                     subq.w     [A2], 1
  5944. 00003D54  3652                     movea.w    A3, [A2]
  5945. 00003D56  200B                     move.l     D0, A3
  5946. 00003D58  E588                     lsl        D0, 2
  5947. 00003D5A  266A 0004                movea.l    A3, [A2 + 0x4]
  5948. 00003D5E  D7C0                     add.l      A3, D0
  5949. 00003D60  2F13                     move.l     -[A7], [A3]
  5950. 00003D62  4EAD EE40                jsr        [A5 - 0x11C0]
  5951. 00003D66  4293                     clr.l      [A3]
  5952. 00003D68  584F                     addq.w     A7, 4
  5953. 00003D6A  4CDF 0C00                movem.l    A2,A3, [A7]+
  5954. 00003D6E  4E75                     rts
  5955. fn00003D70:
  5956. 00003D70  48E7 1820                movem.l    -[A7], D3,D4,A2
  5957. 00003D74  382F 0010                move.w     D4, [A7 + 0x10]
  5958. 00003D78  246D A204                movea.l    A2, [A5 - 0x5DFC]
  5959. 00003D7C  45EA 020E                lea.l      A2, [A2 + 0x20E]
  5960. 00003D80  7600                     moveq.l    D3, 0x00
  5961. 00003D82  602A                     bra        +0x2C /* 00003DAE */
  5962. label00003D84:
  5963. 00003D84  5F6A 000C                subq.w     [A2 + 0xC], 7
  5964. 00003D88  302A 000C                move.w     D0, [A2 + 0xC]
  5965. 00003D8C  48C0                     ext.l      D0
  5966. 00003D8E  4A80                     tst.l      D0
  5967. 00003D90  6F20                     ble        +0x22 /* 00003DB2 */
  5968. 00003D92  4878 0007                push.l     0x7
  5969. 00003D96  42A7                     clr.l      -[A7]
  5970. 00003D98  206A 0008                movea.l    A0, [A2 + 0x8]
  5971. 00003D9C  302A 000C                move.w     D0, [A2 + 0xC]
  5972. 00003DA0  4870 0000                pea.l      [A0 + D0.w]
  5973. 00003DA4  4EAD D94C                jsr        [A5 - 0x26B4]
  5974. 00003DA8  5243                     addq.w     D3, 1
  5975. 00003DAA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5976. label00003DAE:
  5977. 00003DAE  B644                     cmp.w      D3, D4
  5978. 00003DB0  6DD2                     blt        -0x2C /* 00003D84 */
  5979. label00003DB2:
  5980. 00003DB2  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  5981. 00003DB6  4E75                     rts
  5982. fn00003DB8:
  5983. 00003DB8  4A6F 0004                tst.w      [A7 + 0x4]
  5984. 00003DBC  6716                     beq        +0x18 /* 00003DD4 */
  5985. 00003DBE  4AAD 9F38                tst.l      [A5 - 0x60C8]
  5986. 00003DC2  6624                     bne        +0x26 /* 00003DE8 */
  5987. 00003DC4  2F2D A33C                move.l     -[A7], [A5 - 0x5CC4]
  5988. 00003DC8  4EAD EE18                jsr        [A5 - 0x11E8]
  5989. 00003DCC  2B48 9F38                move.l     [A5 - 0x60C8], A0
  5990. 00003DD0  584F                     addq.w     A7, 4
  5991. 00003DD2  6014                     bra        +0x16 /* 00003DE8 */
  5992. label00003DD4:
  5993. 00003DD4  4AAD 9F38                tst.l      [A5 - 0x60C8]
  5994. 00003DD8  670E                     beq        +0x10 /* 00003DE8 */
  5995. 00003DDA  2F2D A33C                move.l     -[A7], [A5 - 0x5CC4]
  5996. 00003DDE  4EAD EE20                jsr        [A5 - 0x11E0]
  5997. 00003DE2  42AD 9F38                clr.l      [A5 - 0x60C8]
  5998. 00003DE6  584F                     addq.w     A7, 4
  5999. label00003DE8:
  6000. 00003DE8  206D 9F38                movea.l    A0, [A5 - 0x60C8]
  6001. 00003DEC  4E75                     rts
  6002. fn00003DEE:
  6003. 00003DEE  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  6004. 00003DF2  2C6F 001A                movea.l    A6, [A7 + 0x1A]
  6005. 00003DF6  7014                     moveq.l    D0, 0x14
  6006. 00003DF8  C1EF 0018                muls.w     D0, [A7 + 0x18]
  6007. 00003DFC  206D A204                movea.l    A0, [A5 - 0x5DFC]
  6008. 00003E00  D1C0                     add.l      A0, D0
  6009. 00003E02  2468 0228                movea.l    A2, [A0 + 0x228]
  6010. 00003E06  264A                     movea.l    A3, A2
  6011. 00003E08  4256                     clr.w      [A6]
  6012. 00003E0A  4EBA FB1A                jsr        [PC - 0x4E6 /* 00003926 */]
  6013. 00003E0E  286D A1EE                movea.l    A4, [A5 - 0x5E12]
  6014. 00003E12  264C                     movea.l    A3, A4
  6015. 00003E14  6000 00BA                bra        +0xBC /* 00003ED0 */
  6016. label00003E18:
  6017. 00003E18  528A                     addq.l     A2, 1
  6018. 00003E1A  528B                     addq.l     A3, 1
  6019. label00003E1C:
  6020. 00003E1C  1012                     move.b     D0, [A2]
  6021. 00003E1E  B013                     cmp.b      D0, [A3]
  6022. 00003E20  6614                     bne        +0x16 /* 00003E36 */
  6023. 00003E22  4A12                     tst.b      [A2]
  6024. 00003E24  6710                     beq        +0x12 /* 00003E36 */
  6025. 00003E26  0C12 0020                cmpi.b     [A2], 0x20 /* ' ' */
  6026. 00003E2A  670A                     beq        +0xC /* 00003E36 */
  6027. 00003E2C  4A13                     tst.b      [A3]
  6028. 00003E2E  6706                     beq        +0x8 /* 00003E36 */
  6029. 00003E30  0C13 0020                cmpi.b     [A3], 0x20 /* ' ' */
  6030. 00003E34  66E2                     bne        -0x1C /* 00003E18 */
  6031. label00003E36:
  6032. 00003E36  4A13                     tst.b      [A3]
  6033. 00003E38  6614                     bne        +0x16 /* 00003E4E */
  6034. 00003E3A  4A12                     tst.b      [A2]
  6035. 00003E3C  6700 0080                beq        +0x82 /* 00003EBE */
  6036. 00003E40  0C12 0020                cmpi.b     [A2], 0x20 /* ' ' */
  6037. 00003E44  6778                     beq        +0x7A /* 00003EBE */
  6038. 00003E46  7000                     moveq.l    D0, 0x00
  6039. 00003E48  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6040. 00003E4C  4E75                     rts
  6041. label00003E4E:
  6042. 00003E4E  4A12                     tst.b      [A2]
  6043. 00003E50  6706                     beq        +0x8 /* 00003E58 */
  6044. 00003E52  0C12 0020                cmpi.b     [A2], 0x20 /* ' ' */
  6045. 00003E56  6638                     bne        +0x3A /* 00003E90 */
  6046. label00003E58:
  6047. 00003E58  0C13 0020                cmpi.b     [A3], 0x20 /* ' ' */
  6048. 00003E5C  6760                     beq        +0x62 /* 00003EBE */
  6049. 00003E5E  1F13                     move.b     -[A7], [A3]
  6050. 00003E60  4EBA 0224                jsr        [PC + 0x224 /* 00004086 */]
  6051. 00003E64  4A40                     tst.w      D0
  6052. 00003E66  544F                     addq.w     A7, 2
  6053. 00003E68  6654                     bne        +0x56 /* 00003EBE */
  6054. 00003E6A  538A                     subq.l     A2, 1
  6055. 00003E6C  1612                     move.b     D3, [A2]
  6056. 00003E6E  4883                     ext.w      D3
  6057. 00003E70  C7FC 0006                muls.w     D3, 0x6
  6058. 00003E74  206D A344                movea.l    A0, [A5 - 0x5CBC]
  6059. 00003E78  3630 3800                move.w     D3, [A0 + D3]
  6060. 00003E7C  48C3                     ext.l      D3
  6061. 00003E7E  4A83                     tst.l      D3
  6062. 00003E80  673C                     beq        +0x3E /* 00003EBE */
  6063. 00003E82  7007                     moveq.l    D0, 0x07
  6064. 00003E84  B680                     cmp.l      D3, D0
  6065. 00003E86  6736                     beq        +0x38 /* 00003EBE */
  6066. 00003E88  7000                     moveq.l    D0, 0x00
  6067. 00003E8A  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6068. 00003E8E  4E75                     rts
  6069. label00003E90:
  6070. 00003E90  0C13 0020                cmpi.b     [A3], 0x20 /* ' ' */
  6071. 00003E94  6720                     beq        +0x22 /* 00003EB6 */
  6072. 00003E96  4878 0020                push.l     0x20 /* ' ' */
  6073. 00003E9A  2F0A                     move.l     -[A7], A2
  6074. 00003E9C  4EAD D958                jsr        [A5 - 0x26A8]
  6075. 00003EA0  2448                     movea.l    A2, A0
  6076. 00003EA2  200A                     move.l     D0, A2
  6077. 00003EA4  504F                     addq.w     A7, 8
  6078. 00003EA6  6608                     bne        +0xA /* 00003EB0 */
  6079. 00003EA8  7000                     moveq.l    D0, 0x00
  6080. 00003EAA  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6081. 00003EAE  4E75                     rts
  6082. label00003EB0:
  6083. 00003EB0  528A                     addq.l     A2, 1
  6084. 00003EB2  264C                     movea.l    A3, A4
  6085. 00003EB4  601A                     bra        +0x1C /* 00003ED0 */
  6086. label00003EB6:
  6087. 00003EB6  7000                     moveq.l    D0, 0x00
  6088. 00003EB8  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6089. 00003EBC  4E75                     rts
  6090. label00003EBE:
  6091. 00003EBE  4A13                     tst.b      [A3]
  6092. 00003EC0  6704                     beq        +0x6 /* 00003EC6 */
  6093. 00003EC2  4EBA FA62                jsr        [PC - 0x59E /* 00003926 */]
  6094. label00003EC6:
  6095. 00003EC6  204B                     movea.l    A0, A3
  6096. 00003EC8  91CC                     sub.l      A0, A4
  6097. 00003ECA  2008                     move.l     D0, A0
  6098. 00003ECC  3C80                     move.w     [A6], D0
  6099. 00003ECE  6006                     bra        +0x8 /* 00003ED6 */
  6100. label00003ED0:
  6101. 00003ED0  200A                     move.l     D0, A2
  6102. 00003ED2  6600 FF48                bne        -0xB6 /* 00003E1C */
  6103. label00003ED6:
  6104. 00003ED6  7001                     moveq.l    D0, 0x01
  6105. 00003ED8  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6106. 00003EDC  4E75                     rts
  6107. fn00003EDE:
  6108. 00003EDE  48E7 1020                movem.l    -[A7], D3,A2
  6109. 00003EE2  246D A204                movea.l    A2, [A5 - 0x5DFC]
  6110. 00003EE6  45EA 0224                lea.l      A2, [A2 + 0x224]
  6111. 00003EEA  4A6F 000C                tst.w      [A7 + 0xC]
  6112. 00003EEE  6728                     beq        +0x2A /* 00003F18 */
  6113. 00003EF0  7600                     moveq.l    D3, 0x00
  6114. 00003EF2  6018                     bra        +0x1A /* 00003F0C */
  6115. label00003EF4:
  6116. 00003EF4  4AAA 0004                tst.l      [A2 + 0x4]
  6117. 00003EF8  660C                     bne        +0xE /* 00003F06 */
  6118. 00003EFA  2F12                     move.l     -[A7], [A2]
  6119. 00003EFC  4EAD EE18                jsr        [A5 - 0x11E8]
  6120. 00003F00  2548 0004                move.l     [A2 + 0x4], A0
  6121. 00003F04  584F                     addq.w     A7, 4
  6122. label00003F06:
  6123. 00003F06  5243                     addq.w     D3, 1
  6124. 00003F08  7014                     moveq.l    D0, 0x14
  6125. 00003F0A  D5C0                     add.l      A2, D0
  6126. label00003F0C:
  6127. 00003F0C  3003                     move.w     D0, D3
  6128. 00003F0E  48C0                     ext.l      D0
  6129. 00003F10  7205                     moveq.l    D1, 0x05
  6130. 00003F12  B081                     cmp.l      D0, D1
  6131. 00003F14  6DDE                     blt        -0x20 /* 00003EF4 */
  6132. 00003F16  6026                     bra        +0x28 /* 00003F3E */
  6133. label00003F18:
  6134. 00003F18  7600                     moveq.l    D3, 0x00
  6135. 00003F1A  6018                     bra        +0x1A /* 00003F34 */
  6136. label00003F1C:
  6137. 00003F1C  4AAA 0004                tst.l      [A2 + 0x4]
  6138. 00003F20  670C                     beq        +0xE /* 00003F2E */
  6139. 00003F22  2F12                     move.l     -[A7], [A2]
  6140. 00003F24  4EAD EE20                jsr        [A5 - 0x11E0]
  6141. 00003F28  42AA 0004                clr.l      [A2 + 0x4]
  6142. 00003F2C  584F                     addq.w     A7, 4
  6143. label00003F2E:
  6144. 00003F2E  5243                     addq.w     D3, 1
  6145. 00003F30  7014                     moveq.l    D0, 0x14
  6146. 00003F32  D5C0                     add.l      A2, D0
  6147. label00003F34:
  6148. 00003F34  3003                     move.w     D0, D3
  6149. 00003F36  48C0                     ext.l      D0
  6150. 00003F38  7205                     moveq.l    D1, 0x05
  6151. 00003F3A  B081                     cmp.l      D0, D1
  6152. 00003F3C  6DDE                     blt        -0x20 /* 00003F1C */
  6153. label00003F3E:
  6154. 00003F3E  4CDF 0408                movem.l    D3,A2, [A7]+
  6155. 00003F42  4E75                     rts
  6156. fn00003F44:
  6157. 00003F44  4A6F 0004                tst.w      [A7 + 0x4]
  6158. 00003F48  671A                     beq        +0x1C /* 00003F64 */
  6159. 00003F4A  4AAD A344                tst.l      [A5 - 0x5CBC]
  6160. 00003F4E  662C                     bne        +0x2E /* 00003F7C */
  6161. 00003F50  206D A204                movea.l    A0, [A5 - 0x5DFC]
  6162. 00003F54  2F28 0288                move.l     -[A7], [A0 + 0x288]
  6163. 00003F58  4EAD EE18                jsr        [A5 - 0x11E8]
  6164. 00003F5C  2B48 A344                move.l     [A5 - 0x5CBC], A0
  6165. 00003F60  584F                     addq.w     A7, 4
  6166. 00003F62  6018                     bra        +0x1A /* 00003F7C */
  6167. label00003F64:
  6168. 00003F64  4AAD A344                tst.l      [A5 - 0x5CBC]
  6169. 00003F68  6712                     beq        +0x14 /* 00003F7C */
  6170. 00003F6A  206D A204                movea.l    A0, [A5 - 0x5DFC]
  6171. 00003F6E  2F28 0288                move.l     -[A7], [A0 + 0x288]
  6172. 00003F72  4EAD EE20                jsr        [A5 - 0x11E0]
  6173. 00003F76  42AD A344                clr.l      [A5 - 0x5CBC]
  6174. 00003F7A  584F                     addq.w     A7, 4
  6175. label00003F7C:
  6176. 00003F7C  206D A344                movea.l    A0, [A5 - 0x5CBC]
  6177. 00003F80  4E75                     rts
  6178. fn00003F82:
  6179. 00003F82  48E7 1020                movem.l    -[A7], D3,A2
  6180. 00003F86  7600                     moveq.l    D3, 0x00
  6181. 00003F88  3F3C 0001                move.w     -[A7], 0x1
  6182. 00003F8C  4EBA FE2A                jsr        [PC - 0x1D6 /* 00003DB8 */]
  6183. 00003F90  2448                     movea.l    A2, A0
  6184. 00003F92  7062                     moveq.l    D0, 0x62
  6185. 00003F94  C1ED A20C                muls.w     D0, [A5 - 0x5DF4]
  6186. 00003F98  D5C0                     add.l      A2, D0
  6187. 00003F9A  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  6188. 00003F9E  4EAD EE18                jsr        [A5 - 0x11E8]
  6189. 00003FA2  2548 0056                move.l     [A2 + 0x56], A0
  6190. 00003FA6  3F2A 005C                move.w     -[A7], [A2 + 0x5C]
  6191. 00003FAA  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  6192. 00003FAE  206A 0026                movea.l    A0, [A2 + 0x26]
  6193. 00003FB2  4E90                     jsr        [A0]
  6194. 00003FB4  4AAA 0032                tst.l      [A2 + 0x32]
  6195. 00003FB8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6196. 00003FBC  670E                     beq        +0x10 /* 00003FCC */
  6197. 00003FBE  1F2F 000C                move.b     -[A7], [A7 + 0xC]
  6198. 00003FC2  206A 0032                movea.l    A0, [A2 + 0x32]
  6199. 00003FC6  4E90                     jsr        [A0]
  6200. 00003FC8  3600                     move.w     D3, D0
  6201. 00003FCA  544F                     addq.w     A7, 2
  6202. label00003FCC:
  6203. 00003FCC  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  6204. 00003FD0  4EAD EE20                jsr        [A5 - 0x11E0]
  6205. 00003FD4  42AA 0056                clr.l      [A2 + 0x56]
  6206. 00003FD8  4267                     clr.w      -[A7]
  6207. 00003FDA  4EBA FDDC                jsr        [PC - 0x224 /* 00003DB8 */]
  6208. 00003FDE  3003                     move.w     D0, D3
  6209. 00003FE0  5C4F                     addq.w     A7, 6
  6210. 00003FE2  4CDF 0408                movem.l    D3,A2, [A7]+
  6211. 00003FE6  4E75                     rts
  6212. fn00003FE8:
  6213. 00003FE8  2F0C                     move.l     -[A7], A4
  6214. 00003FEA  286F 000C                movea.l    A4, [A7 + 0xC]
  6215. 00003FEE  226F 0008                movea.l    A1, [A7 + 0x8]
  6216. 00003FF2  6016                     bra        +0x18 /* 0000400A */
  6217. label00003FF4:
  6218. 00003FF4  204C                     movea.l    A0, A4
  6219. 00003FF6  6008                     bra        +0xA /* 00004000 */
  6220. label00003FF8:
  6221. 00003FF8  1011                     move.b     D0, [A1]
  6222. 00003FFA  B010                     cmp.b      D0, [A0]
  6223. 00003FFC  6706                     beq        +0x8 /* 00004004 */
  6224. 00003FFE  5288                     addq.l     A0, 1
  6225. label00004000:
  6226. 00004000  4A10                     tst.b      [A0]
  6227. 00004002  66F4                     bne        -0xA /* 00003FF8 */
  6228. label00004004:
  6229. 00004004  4A10                     tst.b      [A0]
  6230. 00004006  6606                     bne        +0x8 /* 0000400E */
  6231. 00004008  5289                     addq.l     A1, 1
  6232. label0000400A:
  6233. 0000400A  4A11                     tst.b      [A1]
  6234. 0000400C  66E6                     bne        -0x18 /* 00003FF4 */
  6235. label0000400E:
  6236. 0000400E  4A11                     tst.b      [A1]
  6237. 00004010  6608                     bne        +0xA /* 0000401A */
  6238. 00004012  226D A204                movea.l    A1, [A5 - 0x5DFC]
  6239. 00004016  D2ED A33A                add.w      A1, [A5 - 0x5CC6]
  6240. label0000401A:
  6241. 0000401A  2049                     movea.l    A0, A1
  6242. 0000401C  285F                     movea.l    A4, [A7]+
  6243. 0000401E  4E75                     rts
  6244. fn00004020:
  6245. 00004020  48E7 1020                movem.l    -[A7], D3,A2
  6246. 00004024  7600                     moveq.l    D3, 0x00
  6247. 00004026  3F3C 0001                move.w     -[A7], 0x1
  6248. 0000402A  4EBA FD8C                jsr        [PC - 0x274 /* 00003DB8 */]
  6249. 0000402E  2448                     movea.l    A2, A0
  6250. 00004030  7062                     moveq.l    D0, 0x62
  6251. 00004032  C1ED A20C                muls.w     D0, [A5 - 0x5DF4]
  6252. 00004036  D5C0                     add.l      A2, D0
  6253. 00004038  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  6254. 0000403C  4EAD EE18                jsr        [A5 - 0x11E8]
  6255. 00004040  2548 0056                move.l     [A2 + 0x56], A0
  6256. 00004044  3F2A 005C                move.w     -[A7], [A2 + 0x5C]
  6257. 00004048  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  6258. 0000404C  206A 0026                movea.l    A0, [A2 + 0x26]
  6259. 00004050  4E90                     jsr        [A0]
  6260. 00004052  4AAA 0036                tst.l      [A2 + 0x36]
  6261. 00004056  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6262. 0000405A  670E                     beq        +0x10 /* 0000406A */
  6263. 0000405C  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6264. 00004060  206A 0036                movea.l    A0, [A2 + 0x36]
  6265. 00004064  4E90                     jsr        [A0]
  6266. 00004066  3600                     move.w     D3, D0
  6267. 00004068  584F                     addq.w     A7, 4
  6268. label0000406A:
  6269. 0000406A  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  6270. 0000406E  4EAD EE20                jsr        [A5 - 0x11E0]
  6271. 00004072  42AA 0056                clr.l      [A2 + 0x56]
  6272. 00004076  4267                     clr.w      -[A7]
  6273. 00004078  4EBA FD3E                jsr        [PC - 0x2C2 /* 00003DB8 */]
  6274. 0000407C  3003                     move.w     D0, D3
  6275. 0000407E  5C4F                     addq.w     A7, 6
  6276. 00004080  4CDF 0408                movem.l    D3,A2, [A7]+
  6277. 00004084  4E75                     rts
  6278. fn00004086:
  6279. 00004086  102F 0004                move.b     D0, [A7 + 0x4]
  6280. 0000408A  0C00 0022                cmpi.b     D0, 0x22 /* '\"' */
  6281. 0000408E  670C                     beq        +0xE /* 0000409C */
  6282. 00004090  0C00 0028                cmpi.b     D0, 0x28 /* '(' */
  6283. 00004094  6706                     beq        +0x8 /* 0000409C */
  6284. 00004096  0C00 0029                cmpi.b     D0, 0x29 /* ')' */
  6285. 0000409A  6604                     bne        +0x6 /* 000040A0 */
  6286. label0000409C:
  6287. 0000409C  7001                     moveq.l    D0, 0x01
  6288. 0000409E  4E75                     rts
  6289. label000040A0:
  6290. 000040A0  7000                     moveq.l    D0, 0x00
  6291. 000040A2  4E75                     rts
  6292. 000040A4  2F0A                     move.l     -[A7], A2
  6293. 000040A6  202F 0008                move.l     D0, [A7 + 0x8]
  6294. 000040AA  5280                     addq.l     D0, 1
  6295. 000040AC  2F00                     move.l     -[A7], D0
  6296. 000040AE  4EAD EE30                jsr        [A5 - 0x11D0]
  6297. 000040B2  2448                     movea.l    A2, A0
  6298. 000040B4  200A                     move.l     D0, A2
  6299. 000040B6  584F                     addq.w     A7, 4
  6300. 000040B8  6606                     bne        +0x8 /* 000040C0 */
  6301. 000040BA  91C8                     sub.l      A0, A0
  6302. 000040BC  245F                     movea.l    A2, [A7]+
  6303. 000040BE  4E75                     rts
  6304. label000040C0:
  6305. 000040C0  202F 0008                move.l     D0, [A7 + 0x8]
  6306. 000040C4  5280                     addq.l     D0, 1
  6307. 000040C6  2F00                     move.l     -[A7], D0
  6308. 000040C8  42A7                     clr.l      -[A7]
  6309. 000040CA  2F0A                     move.l     -[A7], A2
  6310. 000040CC  4EAD D94C                jsr        [A5 - 0x26B4]
  6311. 000040D0  204A                     movea.l    A0, A2
  6312. 000040D2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6313. 000040D6  245F                     movea.l    A2, [A7]+
  6314. 000040D8  4E75                     rts
  6315. fn000040DA:
  6316. 000040DA  48E7 0C00                movem.l    -[A7], D4,D5
  6317. 000040DE  2A2F 0010                move.l     D5, [A7 + 0x10]
  6318. 000040E2  7800                     moveq.l    D4, 0x00
  6319. 000040E4  226F 000C                movea.l    A1, [A7 + 0xC]
  6320. 000040E8  7400                     moveq.l    D2, 0x00
  6321. 000040EA  602C                     bra        +0x2E /* 00004118 */
  6322. label000040EC:
  6323. 000040EC  1011                     move.b     D0, [A1]
  6324. 000040EE  720F                     moveq.l    D1, 0x0F
  6325. 000040F0  C081                     and.l      D0, D1
  6326. 000040F2  41ED B66C                lea.l      A0, [A5 - 0x4994]
  6327. 000040F6  1030 0800                move.b     D0, [A0 + D0]
  6328. 000040FA  4880                     ext.w      D0
  6329. 000040FC  48C0                     ext.l      D0
  6330. 000040FE  1211                     move.b     D1, [A1]
  6331. 00004100  0281 0000 00F0           andi.l     D1, 0xF0
  6332. 00004106  E881                     asr        D1, 4
  6333. 00004108  1230 1800                move.b     D1, [A0 + D1]
  6334. 0000410C  4881                     ext.w      D1
  6335. 0000410E  48C1                     ext.l      D1
  6336. 00004110  D280                     add.l      D1, D0
  6337. 00004112  D881                     add.l      D4, D1
  6338. 00004114  5282                     addq.l     D2, 1
  6339. 00004116  5289                     addq.l     A1, 1
  6340. label00004118:
  6341. 00004118  B485                     cmp.l      D2, D5
  6342. 0000411A  65D0                     bcs        -0x2E /* 000040EC */
  6343. 0000411C  2004                     move.l     D0, D4
  6344. 0000411E  4CDF 0030                movem.l    D4,D5, [A7]+
  6345. 00004122  4E75                     rts
  6346. 00004124  48E7 0C00                movem.l    -[A7], D4,D5
  6347. 00004128  2A2F 0010                move.l     D5, [A7 + 0x10]
  6348. 0000412C  183C 00FF                move.b     D4, 0xFF
  6349. 00004130  206F 000C                movea.l    A0, [A7 + 0xC]
  6350. 00004134  7400                     moveq.l    D2, 0x00
  6351. 00004136  6016                     bra        +0x18 /* 0000414E */
  6352. label00004138:
  6353. 00004138  7000                     moveq.l    D0, 0x00
  6354. 0000413A  1010                     move.b     D0, [A0]
  6355. 0000413C  7200                     moveq.l    D1, 0x00
  6356. 0000413E  1204                     move.b     D1, D4
  6357. 00004140  C280                     and.l      D1, D0
  6358. 00004142  6708                     beq        +0xA /* 0000414C */
  6359. 00004144  7000                     moveq.l    D0, 0x00
  6360. 00004146  4CDF 0030                movem.l    D4,D5, [A7]+
  6361. 0000414A  4E75                     rts
  6362. label0000414C:
  6363. 0000414C  5288                     addq.l     A0, 1
  6364. label0000414E:
  6365. 0000414E  B485                     cmp.l      D2, D5
  6366. 00004150  65E6                     bcs        -0x18 /* 00004138 */
  6367. 00004152  7001                     moveq.l    D0, 0x01
  6368. 00004154  4CDF 0030                movem.l    D4,D5, [A7]+
  6369. 00004158  4E75                     rts
  6370. 0000415A  514F                     subq.w     A7, 8
  6371. 0000415C  2F6F 000C 0004           move.l     [A7 + 0x4], [A7 + 0xC]
  6372. 00004162  2EAF 0010                move.l     [A7], [A7 + 0x10]
  6373. 00004166  486F 0004                pea.l      [A7 + 0x4]
  6374. 0000416A  486F 0004                pea.l      [A7 + 0x4]
  6375. 0000416E  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  6376. 00004172  A8D0                     syscall    UnpackBits
  6377. 00004174  7000                     moveq.l    D0, 0x00
  6378. 00004176  504F                     addq.w     A7, 8
  6379. 00004178  4E75                     rts
  6380. 0000417A  48E7 0C08                movem.l    -[A7], D4,D5,A4
  6381. 0000417E  242F 0018                move.l     D2, [A7 + 0x18]
  6382. 00004182  2802                     move.l     D4, D2
  6383. 00004184  E48C                     lsr        D4, 2
  6384. 00004186  206F 0010                movea.l    A0, [A7 + 0x10]
  6385. 0000418A  226F 0014                movea.l    A1, [A7 + 0x14]
  6386. 0000418E  2A02                     move.l     D5, D2
  6387. 00004190  7203                     moveq.l    D1, 0x03
  6388. 00004192  CA81                     and.l      D5, D1
  6389. 00004194  7400                     moveq.l    D2, 0x00
  6390. 00004196  6006                     bra        +0x8 /* 0000419E */
  6391. label00004198:
  6392. 00004198  2019                     move.l     D0, [A1]+
  6393. 0000419A  8198                     or.l       [A0]+, D0
  6394. 0000419C  5282                     addq.l     D2, 1
  6395. label0000419E:
  6396. 0000419E  B484                     cmp.l      D2, D4
  6397. 000041A0  6DF6                     blt        -0x8 /* 00004198 */
  6398. 000041A2  2848                     movea.l    A4, A0
  6399. 000041A4  2049                     movea.l    A0, A1
  6400. 000041A6  7400                     moveq.l    D2, 0x00
  6401. 000041A8  6006                     bra        +0x8 /* 000041B0 */
  6402. label000041AA:
  6403. 000041AA  1018                     move.b     D0, [A0]+
  6404. 000041AC  811C                     or.b       [A4]+, D0
  6405. 000041AE  5282                     addq.l     D2, 1
  6406. label000041B0:
  6407. 000041B0  3005                     move.w     D0, D5
  6408. 000041B2  48C0                     ext.l      D0
  6409. 000041B4  B480                     cmp.l      D2, D0
  6410. 000041B6  6DF2                     blt        -0xC /* 000041AA */
  6411. 000041B8  4CDF 1030                movem.l    D4,D5,A4, [A7]+
  6412. 000041BC  4E75                     rts
  6413. 000041BE  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  6414. 000041C2  4FEF FFCC                lea.l      A7, [A7 - 0x34]
  6415. 000041C6  266F 0054                movea.l    A3, [A7 + 0x54]
  6416. 000041CA  1F3C 0010                move.b     -[A7], 0x10
  6417. 000041CE  2F0B                     move.l     -[A7], A3
  6418. 000041D0  4EAD E818                jsr        [A5 - 0x17E8]
  6419. 000041D4  2848                     movea.l    A4, A0
  6420. 000041D6  7800                     moveq.l    D4, 0x00
  6421. 000041D8  1F3C 0006                move.b     -[A7], 0x6
  6422. 000041DC  2F0B                     move.l     -[A7], A3
  6423. 000041DE  4EAD E818                jsr        [A5 - 0x17E8]
  6424. 000041E2  3C10                     move.w     D6, [A0]
  6425. 000041E4  7600                     moveq.l    D3, 0x00
  6426. 000041E6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6427. label000041EA:
  6428. 000041EA  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6429. 000041EE  6718                     beq        +0x1A /* 00004208 */
  6430. 000041F0  2F04                     move.l     -[A7], D4
  6431. 000041F2  4EAD FEF0                jsr        [A5 - 0x110]
  6432. 000041F6  3600                     move.w     D3, D0
  6433. 000041F8  3003                     move.w     D0, D3
  6434. 000041FA  48C0                     ext.l      D0
  6435. 000041FC  4A80                     tst.l      D0
  6436. 000041FE  584F                     addq.w     A7, 4
  6437. 00004200  6D00 00D8                blt        +0xDA /* 000042DA */
  6438. 00004204  45D7                     lea.l      A2, [A7]
  6439. 00004206  6004                     bra        +0x6 /* 0000420C */
  6440. label00004208:
  6441. 00004208  3606                     move.w     D3, D6
  6442. 0000420A  244C                     movea.l    A2, A4
  6443. label0000420C:
  6444. 0000420C  4EAD DB08                jsr        [A5 - 0x24F8]
  6445. 00004210  3A00                     move.w     D5, D0
  6446. 00004212  3F03                     move.w     -[A7], D3
  6447. 00004214  4EAD DB0E                jsr        [A5 - 0x24F2]
  6448. 00004218  42A7                     clr.l      -[A7]
  6449. 0000421A  486F 000C                pea.l      [A7 + 0xC]
  6450. 0000421E  486F 000E                pea.l      [A7 + 0xE]
  6451. 00004222  4EAD DB50                jsr        [A5 - 0x24B0]
  6452. 00004226  3600                     move.w     D3, D0
  6453. 00004228  3F05                     move.w     -[A7], D5
  6454. 0000422A  4EAD DB0E                jsr        [A5 - 0x24F2]
  6455. 0000422E  4A43                     tst.w      D3
  6456. 00004230  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6457. 00004234  6708                     beq        +0xA /* 0000423E */
  6458. 00004236  3F43 0058                move.w     [A7 + 0x58], D3
  6459. 0000423A  6000 00A2                bra        +0xA4 /* 000042DE */
  6460. label0000423E:
  6461. 0000423E  4AAF 0006                tst.l      [A7 + 0x6]
  6462. 00004242  660A                     bne        +0xC /* 0000424E */
  6463. 00004244  3F7C 0013 0058           move.w     [A7 + 0x58], 0x13
  6464. 0000424A  6000 0092                bra        +0x94 /* 000042DE */
  6465. label0000424E:
  6466. 0000424E  41ED A34C                lea.l      A0, [A5 - 0x5CB4]
  6467. 00004252  43EF 000A                lea.l      A1, [A7 + 0xA]
  6468. 00004256  7009                     moveq.l    D0, 0x09
  6469. label00004258:
  6470. 00004258  22D8                     move.l     [A1]+, [A0]+
  6471. 0000425A  51C8 FFFC                dbf        D0, -0x6 /* 00004258 */
  6472. 0000425E  32D8                     move.w     [A1]+, [A0]+
  6473. 00004260  3F6F 0004 000A           move.w     [A7 + 0xA], [A7 + 0x4]
  6474. 00004266  2F6F 0006 000C           move.l     [A7 + 0xC], [A7 + 0x6]
  6475. 0000426C  2F4B 0010                move.l     [A7 + 0x10], A3
  6476. 00004270  41ED ECA8                lea.l      A0, [A5 - 0x1358]
  6477. 00004274  2F48 0014                move.l     [A7 + 0x14], A0
  6478. 00004278  41ED ECB0                lea.l      A0, [A5 - 0x1350]
  6479. 0000427C  2F48 0018                move.l     [A7 + 0x18], A0
  6480. 00004280  41ED ECB8                lea.l      A0, [A5 - 0x1348]
  6481. 00004284  2F48 001C                move.l     [A7 + 0x1C], A0
  6482. 00004288  41ED ECC0                lea.l      A0, [A5 - 0x1340]
  6483. 0000428C  2F48 0020                move.l     [A7 + 0x20], A0
  6484. 00004290  41ED ECC8                lea.l      A0, [A5 - 0x1338]
  6485. 00004294  2F48 0024                move.l     [A7 + 0x24], A0
  6486. 00004298  41ED ECD0                lea.l      A0, [A5 - 0x1330]
  6487. 0000429C  2F48 0028                move.l     [A7 + 0x28], A0
  6488. 000042A0  41ED ECD8                lea.l      A0, [A5 - 0x1328]
  6489. 000042A4  2F48 002C                move.l     [A7 + 0x2C], A0
  6490. 000042A8  486F 000A                pea.l      [A7 + 0xA]
  6491. 000042AC  4EBA DC6C                jsr        [PC - 0x2394 /* 00001F1A */]
  6492. 000042B0  3600                     move.w     D3, D0
  6493. 000042B2  4A43                     tst.w      D3
  6494. 000042B4  584F                     addq.w     A7, 4
  6495. 000042B6  6706                     beq        +0x8 /* 000042BE */
  6496. 000042B8  3F43 0058                move.w     [A7 + 0x58], D3
  6497. 000042BC  6020                     bra        +0x22 /* 000042DE */
  6498. label000042BE:
  6499. 000042BE  24AF 0030                move.l     [A2], [A7 + 0x30]
  6500. 000042C2  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6501. 000042C6  6712                     beq        +0x14 /* 000042DA */
  6502. 000042C8  2F17                     move.l     -[A7], [A7]
  6503. 000042CA  2004                     move.l     D0, D4
  6504. 000042CC  5284                     addq.l     D4, 1
  6505. 000042CE  2F00                     move.l     -[A7], D0
  6506. 000042D0  4EAD FF68                jsr        [A5 - 0x98]
  6507. 000042D4  504F                     addq.w     A7, 8
  6508. 000042D6  6000 FF12                bra        -0xEC /* 000041EA */
  6509. label000042DA:
  6510. 000042DA  426F 0058                clr.w      [A7 + 0x58]
  6511. label000042DE:
  6512. 000042DE  4FEF 0034                lea.l      A7, [A7 + 0x34]
  6513. 000042E2  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  6514. 000042E6  2E9F                     move.l     [A7], [A7]+
  6515. 000042E8  4E75                     rts
  6516. 000042EA  48E7 1030                movem.l    -[A7], D3,A2,A3
  6517. 000042EE  266F 0010                movea.l    A3, [A7 + 0x10]
  6518. 000042F2  7600                     moveq.l    D3, 0x00
  6519. 000042F4  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6520. 000042F8  6704                     beq        +0x6 /* 000042FE */
  6521. 000042FA  4EAD FFA8                jsr        [A5 - 0x58]
  6522. label000042FE:
  6523. 000042FE  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6524. 00004302  6714                     beq        +0x16 /* 00004318 */
  6525. 00004304  2003                     move.l     D0, D3
  6526. 00004306  5283                     addq.l     D3, 1
  6527. 00004308  2F00                     move.l     -[A7], D0
  6528. 0000430A  4EAD FF70                jsr        [A5 - 0x90]
  6529. 0000430E  2448                     movea.l    A2, A0
  6530. 00004310  200A                     move.l     D0, A2
  6531. 00004312  584F                     addq.w     A7, 4
  6532. 00004314  6612                     bne        +0x14 /* 00004328 */
  6533. 00004316  6034                     bra        +0x36 /* 0000434C */
  6534. label00004318:
  6535. 00004318  1F3C 0010                move.b     -[A7], 0x10
  6536. 0000431C  2F0B                     move.l     -[A7], A3
  6537. 0000431E  4EAD E818                jsr        [A5 - 0x17E8]
  6538. 00004322  2050                     movea.l    A0, [A0]
  6539. 00004324  2448                     movea.l    A2, A0
  6540. 00004326  5C4F                     addq.w     A7, 6
  6541. label00004328:
  6542. 00004328  200A                     move.l     D0, A2
  6543. 0000432A  670E                     beq        +0x10 /* 0000433A */
  6544. 0000432C  2F0A                     move.l     -[A7], A2
  6545. 0000432E  4EBA DD02                jsr        [PC - 0x22FE /* 00002032 */]
  6546. 00004332  2F0A                     move.l     -[A7], A2
  6547. 00004334  4EBA DCB6                jsr        [PC - 0x234A /* 00001FEC */]
  6548. 00004338  504F                     addq.w     A7, 8
  6549. label0000433A:
  6550. 0000433A  4878 0001                push.l     0x1
  6551. 0000433E  2F0B                     move.l     -[A7], A3
  6552. 00004340  4EAD EA10                jsr        [A5 - 0x15F0]
  6553. 00004344  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6554. 00004348  504F                     addq.w     A7, 8
  6555. 0000434A  66B2                     bne        -0x4C /* 000042FE */
  6556. label0000434C:
  6557. 0000434C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  6558. 00004350  2E9F                     move.l     [A7], [A7]+
  6559. 00004352  4E75                     rts
  6560. 00004354  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  6561. 00004358  594F                     subq.w     A7, 4
  6562. 0000435A  2C2F 0030                move.l     D6, [A7 + 0x30]
  6563. 0000435E  286F 002C                movea.l    A4, [A7 + 0x2C]
  6564. 00004362  2C6F 0028                movea.l    A6, [A7 + 0x28]
  6565. 00004366  42AD A376                clr.l      [A5 - 0x5C8A]
  6566. 0000436A  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6567. 0000436E  6704                     beq        +0x6 /* 00004374 */
  6568. 00004370  4EAD FFB0                jsr        [A5 - 0x50]
  6569. label00004374:
  6570. 00004374  7800                     moveq.l    D4, 0x00
  6571. 00004376  7A00                     moveq.l    D5, 0x00
  6572. 00004378  7600                     moveq.l    D3, 0x00
  6573. 0000437A  4296                     clr.l      [A6]
  6574. 0000437C  3D7C 0001 0004           move.w     [A6 + 0x4], 0x1
  6575. 00004382  4A94                     tst.l      [A4]
  6576. 00004384  6608                     bne        +0xA /* 0000438E */
  6577. 00004386  426F 0034                clr.w      [A7 + 0x34]
  6578. 0000438A  6000 014E                bra        +0x150 /* 000044DA */
  6579. label0000438E:
  6580. 0000438E  3F3C 0004                move.w     -[A7], 0x4
  6581. 00004392  4EAD DDA0                jsr        [A5 - 0x2260]
  6582. 00004396  42A7                     clr.l      -[A7]
  6583. 00004398  2F06                     move.l     -[A7], D6
  6584. 0000439A  4EAD EA70                jsr        [A5 - 0x1590]
  6585. 0000439E  504F                     addq.w     A7, 8
  6586. label000043A0:
  6587. 000043A0  4297                     clr.l      [A7]
  6588. 000043A2  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6589. 000043A6  6720                     beq        +0x22 /* 000043C8 */
  6590. 000043A8  2F04                     move.l     -[A7], D4
  6591. 000043AA  4EAD FF70                jsr        [A5 - 0x90]
  6592. 000043AE  2648                     movea.l    A3, A0
  6593. 000043B0  200B                     move.l     D0, A3
  6594. 000043B2  584F                     addq.w     A7, 4
  6595. 000043B4  6700 0108                beq        +0x10A /* 000044BE */
  6596. 000043B8  2F04                     move.l     -[A7], D4
  6597. 000043BA  4EAD FF88                jsr        [A5 - 0x78]
  6598. 000043BE  4A80                     tst.l      D0
  6599. 000043C0  584F                     addq.w     A7, 4
  6600. 000043C2  6614                     bne        +0x16 /* 000043D8 */
  6601. 000043C4  5284                     addq.l     D4, 1
  6602. 000043C6  60D8                     bra        -0x26 /* 000043A0 */
  6603. label000043C8:
  6604. 000043C8  1F3C 0010                move.b     -[A7], 0x10
  6605. 000043CC  2F06                     move.l     -[A7], D6
  6606. 000043CE  4EAD E818                jsr        [A5 - 0x17E8]
  6607. 000043D2  2050                     movea.l    A0, [A0]
  6608. 000043D4  2648                     movea.l    A3, A0
  6609. 000043D6  5C4F                     addq.w     A7, 6
  6610. label000043D8:
  6611. 000043D8  306C 0008                movea.w    A0, [A4 + 0x8]
  6612. 000043DC  2F08                     move.l     -[A7], A0
  6613. 000043DE  2F0B                     move.l     -[A7], A3
  6614. 000043E0  4EBA DFE2                jsr        [PC - 0x201E /* 000023C4 */]
  6615. 000043E4  3600                     move.w     D3, D0
  6616. 000043E6  4A43                     tst.w      D3
  6617. 000043E8  504F                     addq.w     A7, 8
  6618. 000043EA  6600 00B6                bne        +0xB8 /* 000044A2 */
  6619. 000043EE  95CA                     sub.l      A2, A2
  6620. 000043F0  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6621. 000043F4  670C                     beq        +0xE /* 00004402 */
  6622. 000043F6  2F04                     move.l     -[A7], D4
  6623. 000043F8  4EAD FF98                jsr        [A5 - 0x68]
  6624. 000043FC  2448                     movea.l    A2, A0
  6625. 000043FE  584F                     addq.w     A7, 4
  6626. 00004400  6004                     bra        +0x6 /* 00004406 */
  6627. label00004402:
  6628. 00004402  246C 0004                movea.l    A2, [A4 + 0x4]
  6629. label00004406:
  6630. 00004406  200A                     move.l     D0, A2
  6631. 00004408  672C                     beq        +0x2E /* 00004436 */
  6632. 0000440A  594F                     subq.w     A7, 4
  6633. 0000440C  2F0A                     move.l     -[A7], A2
  6634. 0000440E  4EAD D9AC                jsr        [A5 - 0x2654]
  6635. 00004412  201F                     move.l     D0, [A7]+
  6636. 00004414  E488                     lsr        D0, 2
  6637. 00004416  2F00                     move.l     -[A7], D0
  6638. 00004418  2F0A                     move.l     -[A7], A2
  6639. 0000441A  4EAD DD80                jsr        [A5 - 0x2280]
  6640. 0000441E  584F                     addq.w     A7, 4
  6641. 00004420  2F08                     move.l     -[A7], A0
  6642. 00004422  2F0B                     move.l     -[A7], A3
  6643. 00004424  4EBA DEC8                jsr        [PC - 0x2138 /* 000022EE */]
  6644. 00004428  3600                     move.w     D3, D0
  6645. 0000442A  2F0A                     move.l     -[A7], A2
  6646. 0000442C  4EAD DD88                jsr        [A5 - 0x2278]
  6647. 00004430  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6648. 00004434  6010                     bra        +0x12 /* 00004446 */
  6649. label00004436:
  6650. 00004436  42A7                     clr.l      -[A7]
  6651. 00004438  42A7                     clr.l      -[A7]
  6652. 0000443A  2F0B                     move.l     -[A7], A3
  6653. 0000443C  4EBA DEB0                jsr        [PC - 0x2150 /* 000022EE */]
  6654. 00004440  3600                     move.w     D3, D0
  6655. 00004442  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6656. label00004446:
  6657. 00004446  4A43                     tst.w      D3
  6658. 00004448  6658                     bne        +0x5A /* 000044A2 */
  6659. 0000444A  2F0B                     move.l     -[A7], A3
  6660. 0000444C  4EBA DBAC                jsr        [PC - 0x2454 /* 00001FFA */]
  6661. 00004450  3600                     move.w     D3, D0
  6662. 00004452  4A43                     tst.w      D3
  6663. 00004454  584F                     addq.w     A7, 4
  6664. 00004456  664A                     bne        +0x4C /* 000044A2 */
  6665. 00004458  486E 0004                pea.l      [A6 + 0x4]
  6666. 0000445C  486F 0004                pea.l      [A7 + 0x4]
  6667. 00004460  2F14                     move.l     -[A7], [A4]
  6668. 00004462  4EAD DD80                jsr        [A5 - 0x2280]
  6669. 00004466  584F                     addq.w     A7, 4
  6670. 00004468  2F08                     move.l     -[A7], A0
  6671. 0000446A  2F0B                     move.l     -[A7], A3
  6672. 0000446C  4EBA DBEA                jsr        [PC - 0x2416 /* 00002058 */]
  6673. 00004470  3600                     move.w     D3, D0
  6674. 00004472  2F14                     move.l     -[A7], [A4]
  6675. 00004474  4EAD DD88                jsr        [A5 - 0x2278]
  6676. 00004478  4A43                     tst.w      D3
  6677. 0000447A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6678. 0000447E  6622                     bne        +0x24 /* 000044A2 */
  6679. 00004480  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6680. 00004484  6708                     beq        +0xA /* 0000448E */
  6681. 00004486  4A6E 0004                tst.w      [A6 + 0x4]
  6682. 0000448A  6602                     bne        +0x4 /* 0000448E */
  6683. 0000448C  7A01                     moveq.l    D5, 0x01
  6684. label0000448E:
  6685. 0000448E  4A97                     tst.l      [A7]
  6686. 00004490  6C0C                     bge        +0xE /* 0000449E */
  6687. 00004492  7001                     moveq.l    D0, 0x01
  6688. 00004494  2B40 A376                move.l     [A5 - 0x5C8A], D0
  6689. 00004498  4297                     clr.l      [A7]
  6690. 0000449A  7605                     moveq.l    D3, 0x05
  6691. 0000449C  6004                     bra        +0x6 /* 000044A2 */
  6692. label0000449E:
  6693. 0000449E  2017                     move.l     D0, [A7]
  6694. 000044A0  D196                     add.l      [A6], D0
  6695. label000044A2:
  6696. 000044A2  4A43                     tst.w      D3
  6697. 000044A4  6618                     bne        +0x1A /* 000044BE */
  6698. 000044A6  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6699. 000044AA  6712                     beq        +0x14 /* 000044BE */
  6700. 000044AC  2F17                     move.l     -[A7], [A7]
  6701. 000044AE  2004                     move.l     D0, D4
  6702. 000044B0  5284                     addq.l     D4, 1
  6703. 000044B2  2F00                     move.l     -[A7], D0
  6704. 000044B4  4EAD FF78                jsr        [A5 - 0x88]
  6705. 000044B8  504F                     addq.w     A7, 8
  6706. 000044BA  6000 FEE4                bra        -0x11A /* 000043A0 */
  6707. label000044BE:
  6708. 000044BE  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6709. 000044C2  6712                     beq        +0x14 /* 000044D6 */
  6710. 000044C4  4EAD FFA8                jsr        [A5 - 0x58]
  6711. 000044C8  2005                     move.l     D0, D5
  6712. 000044CA  57C0                     seq        D0
  6713. 000044CC  4400                     neg.b      D0
  6714. 000044CE  4880                     ext.w      D0
  6715. 000044D0  48C0                     ext.l      D0
  6716. 000044D2  3D40 0004                move.w     [A6 + 0x4], D0
  6717. label000044D6:
  6718. 000044D6  3F43 0034                move.w     [A7 + 0x34], D3
  6719. label000044DA:
  6720. 000044DA  584F                     addq.w     A7, 4
  6721. 000044DC  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  6722. 000044E0  205F                     movea.l    A0, [A7]+
  6723. 000044E2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6724. 000044E6  4ED0                     jmp        [A0]
  6725. 000044E8  594F                     subq.w     A7, 4
  6726. 000044EA  1F3C 0010                move.b     -[A7], 0x10
  6727. 000044EE  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6728. 000044F2  4EAD E818                jsr        [A5 - 0x17E8]
  6729. 000044F6  2050                     movea.l    A0, [A0]
  6730. 000044F8  2F48 0006                move.l     [A7 + 0x6], A0
  6731. 000044FC  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6732. 00004500  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  6733. 00004504  4EBA DE20                jsr        [PC - 0x21E0 /* 00002326 */]
  6734. 00004508  4A00                     tst.b      D0
  6735. 0000450A  57C0                     seq        D0
  6736. 0000450C  4400                     neg.b      D0
  6737. 0000450E  4880                     ext.w      D0
  6738. 00004510  48C0                     ext.l      D0
  6739. 00004512  3F40 001E                move.w     [A7 + 0x1E], D0
  6740. 00004516  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6741. 0000451A  205F                     movea.l    A0, [A7]+
  6742. 0000451C  504F                     addq.w     A7, 8
  6743. 0000451E  4ED0                     jmp        [A0]
  6744. 00004520  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  6745. 00004524  286F 001C                movea.l    A4, [A7 + 0x1C]
  6746. 00004528  266F 0014                movea.l    A3, [A7 + 0x14]
  6747. 0000452C  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6748. 00004530  671A                     beq        +0x1C /* 0000454C */
  6749. 00004532  486F 0018                pea.l      [A7 + 0x18]
  6750. 00004536  2F0C                     move.l     -[A7], A4
  6751. 00004538  4EAD FFA0                jsr        [A5 - 0x60]
  6752. 0000453C  2448                     movea.l    A2, A0
  6753. 0000453E  200A                     move.l     D0, A2
  6754. 00004540  504F                     addq.w     A7, 8
  6755. 00004542  6618                     bne        +0x1A /* 0000455C */
  6756. 00004544  3F7C FF94 0020           move.w     [A7 + 0x20], 0xFF94
  6757. 0000454A  6038                     bra        +0x3A /* 00004584 */
  6758. label0000454C:
  6759. 0000454C  1F3C 0010                move.b     -[A7], 0x10
  6760. 00004550  2F0C                     move.l     -[A7], A4
  6761. 00004552  4EAD E818                jsr        [A5 - 0x17E8]
  6762. 00004556  2050                     movea.l    A0, [A0]
  6763. 00004558  2448                     movea.l    A2, A0
  6764. 0000455A  5C4F                     addq.w     A7, 6
  6765. label0000455C:
  6766. 0000455C  200B                     move.l     D0, A3
  6767. 0000455E  6606                     bne        +0x8 /* 00004566 */
  6768. 00004560  426F 0020                clr.w      [A7 + 0x20]
  6769. 00004564  601E                     bra        +0x20 /* 00004584 */
  6770. label00004566:
  6771. 00004566  4293                     clr.l      [A3]
  6772. 00004568  2F0B                     move.l     -[A7], A3
  6773. 0000456A  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  6774. 0000456E  2F0A                     move.l     -[A7], A2
  6775. 00004570  4EBA DD28                jsr        [PC - 0x22D8 /* 0000229A */]
  6776. 00004574  3600                     move.w     D3, D0
  6777. 00004576  4A43                     tst.w      D3
  6778. 00004578  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6779. 0000457C  6702                     beq        +0x4 /* 00004580 */
  6780. 0000457E  4293                     clr.l      [A3]
  6781. label00004580:
  6782. 00004580  3F43 0020                move.w     [A7 + 0x20], D3
  6783. label00004584:
  6784. 00004584  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  6785. 00004588  205F                     movea.l    A0, [A7]+
  6786. 0000458A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6787. 0000458E  4ED0                     jmp        [A0]
  6788. 00004590  48E7 1020                movem.l    -[A7], D3,A2
  6789. 00004594  1F3C 0010                move.b     -[A7], 0x10
  6790. 00004598  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  6791. 0000459C  4EAD E818                jsr        [A5 - 0x17E8]
  6792. 000045A0  2050                     movea.l    A0, [A0]
  6793. 000045A2  2448                     movea.l    A2, A0
  6794. 000045A4  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  6795. 000045A8  2F0A                     move.l     -[A7], A2
  6796. 000045AA  4EBA DCB4                jsr        [PC - 0x234C /* 00002260 */]
  6797. 000045AE  3600                     move.w     D3, D0
  6798. 000045B0  4A43                     tst.w      D3
  6799. 000045B2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6800. 000045B6  6706                     beq        +0x8 /* 000045BE */
  6801. 000045B8  3F43 001C                move.w     [A7 + 0x1C], D3
  6802. 000045BC  6016                     bra        +0x18 /* 000045D4 */
  6803. label000045BE:
  6804. 000045BE  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6805. 000045C2  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6806. 000045C6  2F0A                     move.l     -[A7], A2
  6807. 000045C8  4EBA DBA0                jsr        [PC - 0x2460 /* 0000216A */]
  6808. 000045CC  3F40 0028                move.w     [A7 + 0x28], D0
  6809. 000045D0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6810. label000045D4:
  6811. 000045D4  4CDF 0408                movem.l    D3,A2, [A7]+
  6812. 000045D8  205F                     movea.l    A0, [A7]+
  6813. 000045DA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6814. 000045DE  4ED0                     jmp        [A0]
  6815. 000045E0  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6816. 000045E4  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  6817. 000045E8  286F 0040                movea.l    A4, [A7 + 0x40]
  6818. 000045EC  282F 003C                move.l     D4, [A7 + 0x3C]
  6819. 000045F0  2C2F 0034                move.l     D6, [A7 + 0x34]
  6820. 000045F4  2F0C                     move.l     -[A7], A4
  6821. 000045F6  4EAD EA20                jsr        [A5 - 0x15E0]
  6822. 000045FA  2E08                     move.l     D7, A0
  6823. 000045FC  2F0C                     move.l     -[A7], A4
  6824. 000045FE  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  6825. 00004602  4E90                     jsr        [A0]
  6826. 00004604  7694                     moveq.l    D3, 0xFFFFFF94
  6827. 00004606  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6828. 0000460A  584F                     addq.w     A7, 4
  6829. 0000460C  675A                     beq        +0x5C /* 00004668 */
  6830. 0000460E  244C                     movea.l    A2, A4
  6831. 00004610  1F3C 0010                move.b     -[A7], 0x10
  6832. 00004614  2F0C                     move.l     -[A7], A4
  6833. 00004616  4EAD E818                jsr        [A5 - 0x17E8]
  6834. 0000461A  2050                     movea.l    A0, [A0]
  6835. 0000461C  2648                     movea.l    A3, A0
  6836. 0000461E  42A7                     clr.l      -[A7]
  6837. 00004620  42A7                     clr.l      -[A7]
  6838. 00004622  42A7                     clr.l      -[A7]
  6839. 00004624  2F04                     move.l     -[A7], D4
  6840. 00004626  1F3C 0011                move.b     -[A7], 0x11
  6841. 0000462A  2F0C                     move.l     -[A7], A4
  6842. 0000462C  4EAD E818                jsr        [A5 - 0x17E8]
  6843. 00004630  3010                     move.w     D0, [A0]
  6844. 00004632  5C4F                     addq.w     A7, 6
  6845. 00004634  3F00                     move.w     -[A7], D0
  6846. 00004636  2F0C                     move.l     -[A7], A4
  6847. 00004638  4EAD FF20                jsr        [A5 - 0xE0]
  6848. 0000463C  2848                     movea.l    A4, A0
  6849. 0000463E  200C                     move.l     D0, A4
  6850. 00004640  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6851. 00004644  6756                     beq        +0x58 /* 0000469C */
  6852. 00004646  B9CA                     cmpa.l     A4, A2
  6853. 00004648  6734                     beq        +0x36 /* 0000467E */
  6854. 0000464A  2F0B                     move.l     -[A7], A3
  6855. 0000464C  1F3C 0006                move.b     -[A7], 0x6
  6856. 00004650  2F0C                     move.l     -[A7], A4
  6857. 00004652  4EAD E818                jsr        [A5 - 0x17E8]
  6858. 00004656  3010                     move.w     D0, [A0]
  6859. 00004658  5C4F                     addq.w     A7, 6
  6860. 0000465A  3F00                     move.w     -[A7], D0
  6861. 0000465C  2F0C                     move.l     -[A7], A4
  6862. 0000465E  4EAD FFB8                jsr        [A5 - 0x48]
  6863. 00004662  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6864. 00004666  6016                     bra        +0x18 /* 0000467E */
  6865. label00004668:
  6866. 00004668  42A7                     clr.l      -[A7]
  6867. 0000466A  42A7                     clr.l      -[A7]
  6868. 0000466C  42A7                     clr.l      -[A7]
  6869. 0000466E  2F04                     move.l     -[A7], D4
  6870. 00004670  2F0C                     move.l     -[A7], A4
  6871. 00004672  4EAD E9E0                jsr        [A5 - 0x1620]
  6872. 00004676  4A40                     tst.w      D0
  6873. 00004678  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6874. 0000467C  661E                     bne        +0x20 /* 0000469C */
  6875. label0000467E:
  6876. 0000467E  4EAD E968                jsr        [A5 - 0x1698]
  6877. 00004682  1F3C 0001                move.b     -[A7], 0x1
  6878. 00004686  2F0C                     move.l     -[A7], A4
  6879. 00004688  4EAD E818                jsr        [A5 - 0x17E8]
  6880. 0000468C  B890                     cmp.l      D4, [A0]
  6881. 0000468E  5C4F                     addq.w     A7, 6
  6882. 00004690  6708                     beq        +0xA /* 0000469A */
  6883. 00004692  426F 0044                clr.w      [A7 + 0x44]
  6884. 00004696  6000 017E                bra        +0x180 /* 00004816 */
  6885. label0000469A:
  6886. 0000469A  7600                     moveq.l    D3, 0x00
  6887. label0000469C:
  6888. 0000469C  4A87                     tst.l      D7
  6889. 0000469E  676A                     beq        +0x6C /* 0000470A */
  6890. 000046A0  4EAD DFA0                jsr        [A5 - 0x2060]
  6891. 000046A4  4878 0001                push.l     0x1
  6892. 000046A8  2F0C                     move.l     -[A7], A4
  6893. 000046AA  4EAD EA10                jsr        [A5 - 0x15F0]
  6894. 000046AE  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  6895. 000046B2  4EAD DD80                jsr        [A5 - 0x2280]
  6896. 000046B6  2448                     movea.l    A2, A0
  6897. 000046B8  7601                     moveq.l    D3, 0x01
  6898. 000046BA  78FF                     moveq.l    D4, 0xFFFFFFFF
  6899. 000046BC  7A00                     moveq.l    D5, 0x00
  6900. 000046BE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6901. 000046C2  6020                     bra        +0x22 /* 000046E4 */
  6902. label000046C4:
  6903. 000046C4  4A84                     tst.l      D4
  6904. 000046C6  6C02                     bge        +0x4 /* 000046CA */
  6905. 000046C8  2812                     move.l     D4, [A2]
  6906. label000046CA:
  6907. 000046CA  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  6908. 000046CE  2F12                     move.l     -[A7], [A2]
  6909. 000046D0  2F07                     move.l     -[A7], D7
  6910. 000046D2  4EAD E598                jsr        [A5 - 0x1A68]
  6911. 000046D6  3600                     move.w     D3, D0
  6912. 000046D8  4A43                     tst.w      D3
  6913. 000046DA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6914. 000046DE  6608                     bne        +0xA /* 000046E8 */
  6915. 000046E0  5285                     addq.l     D5, 1
  6916. 000046E2  508A                     addq.l     A2, 8
  6917. label000046E4:
  6918. 000046E4  BA86                     cmp.l      D5, D6
  6919. 000046E6  6DDC                     blt        -0x22 /* 000046C4 */
  6920. label000046E8:
  6921. 000046E8  2F2F 0038                move.l     -[A7], [A7 + 0x38]
  6922. 000046EC  4EAD DD88                jsr        [A5 - 0x2278]
  6923. 000046F0  4A84                     tst.l      D4
  6924. 000046F2  584F                     addq.w     A7, 4
  6925. 000046F4  6F00 011C                ble        +0x11E /* 00004812 */
  6926. 000046F8  42A7                     clr.l      -[A7]
  6927. 000046FA  2F04                     move.l     -[A7], D4
  6928. 000046FC  2F0C                     move.l     -[A7], A4
  6929. 000046FE  4EAD E9D0                jsr        [A5 - 0x1630]
  6930. 00004702  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6931. 00004706  6000 010A                bra        +0x10C /* 00004812 */
  6932. label0000470A:
  6933. 0000470A  594F                     subq.w     A7, 4
  6934. 0000470C  A8D8                     syscall    NewRgn
  6935. 0000470E  205F                     movea.l    A0, [A7]+
  6936. 00004710  2648                     movea.l    A3, A0
  6937. 00004712  200B                     move.l     D0, A3
  6938. 00004714  672A                     beq        +0x2C /* 00004740 */
  6939. 00004716  594F                     subq.w     A7, 4
  6940. 00004718  A8D8                     syscall    NewRgn
  6941. 0000471A  205F                     movea.l    A0, [A7]+
  6942. 0000471C  2C48                     movea.l    A6, A0
  6943. 0000471E  200E                     move.l     D0, A6
  6944. 00004720  671E                     beq        +0x20 /* 00004740 */
  6945. 00004722  1F3C 0006                move.b     -[A7], 0x6
  6946. 00004726  2F0C                     move.l     -[A7], A4
  6947. 00004728  4EAD E818                jsr        [A5 - 0x17E8]
  6948. 0000472C  3A10                     move.w     D5, [A0]
  6949. 0000472E  486F 000E                pea.l      [A7 + 0xE]
  6950. 00004732  2F04                     move.l     -[A7], D4
  6951. 00004734  3F05                     move.w     -[A7], D5
  6952. 00004736  4EAD E1F0                jsr        [A5 - 0x1E10]
  6953. 0000473A  3600                     move.w     D3, D0
  6954. 0000473C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6955. label00004740:
  6956. 00004740  4A43                     tst.w      D3
  6957. 00004742  6718                     beq        +0x1A /* 0000475C */
  6958. 00004744  200B                     move.l     D0, A3
  6959. 00004746  6704                     beq        +0x6 /* 0000474C */
  6960. 00004748  2F0B                     move.l     -[A7], A3
  6961. 0000474A  A8D9                     syscall    DisposRgn/DisposeRgn
  6962. label0000474C:
  6963. 0000474C  200E                     move.l     D0, A6
  6964. 0000474E  6704                     beq        +0x6 /* 00004754 */
  6965. 00004750  2F0E                     move.l     -[A7], A6
  6966. 00004752  A8D9                     syscall    DisposRgn/DisposeRgn
  6967. label00004754:
  6968. 00004754  3F43 0044                move.w     [A7 + 0x44], D3
  6969. 00004758  6000 00BC                bra        +0xBE /* 00004816 */
  6970. label0000475C:
  6971. 0000475C  206F 0008                movea.l    A0, [A7 + 0x8]
  6972. 00004760  A04A                     syscall    HNoPurge
  6973. 00004762  4857                     pea.l      [A7]
  6974. 00004764  486F 0008                pea.l      [A7 + 0x8]
  6975. 00004768  2F0C                     move.l     -[A7], A4
  6976. 0000476A  4EAD EA28                jsr        [A5 - 0x15D8]
  6977. 0000476E  2F0C                     move.l     -[A7], A4
  6978. 00004770  4EAD DD40                jsr        [A5 - 0x22C0]
  6979. 00004774  2F2F 0048                move.l     -[A7], [A7 + 0x48]
  6980. 00004778  4EAD DD80                jsr        [A5 - 0x2280]
  6981. 0000477C  2448                     movea.l    A2, A0
  6982. 0000477E  7601                     moveq.l    D3, 0x01
  6983. 00004780  7800                     moveq.l    D4, 0x00
  6984. 00004782  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6985. 00004786  605C                     bra        +0x5E /* 000047E4 */
  6986. label00004788:
  6987. 00004788  4AAF 0004                tst.l      [A7 + 0x4]
  6988. 0000478C  6720                     beq        +0x22 /* 000047AE */
  6989. 0000478E  202A 0004                move.l     D0, [A2 + 0x4]
  6990. 00004792  9092                     sub.l      D0, [A2]
  6991. 00004794  2F00                     move.l     -[A7], D0
  6992. 00004796  2F12                     move.l     -[A7], [A2]
  6993. 00004798  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6994. 0000479C  2F0B                     move.l     -[A7], A3
  6995. 0000479E  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  6996. 000047A2  4EAD DAD2                jsr        [A5 - 0x252E]
  6997. 000047A6  4A40                     tst.w      D0
  6998. 000047A8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6999. 000047AC  661C                     bne        +0x1E /* 000047CA */
  7000. label000047AE:
  7001. 000047AE  202A 0004                move.l     D0, [A2 + 0x4]
  7002. 000047B2  9092                     sub.l      D0, [A2]
  7003. 000047B4  2F00                     move.l     -[A7], D0
  7004. 000047B6  2F12                     move.l     -[A7], [A2]
  7005. 000047B8  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7006. 000047BC  2F0B                     move.l     -[A7], A3
  7007. 000047BE  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  7008. 000047C2  4EAD DAD2                jsr        [A5 - 0x252E]
  7009. 000047C6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7010. label000047CA:
  7011. 000047CA  4A83                     tst.l      D3
  7012. 000047CC  670A                     beq        +0xC /* 000047D8 */
  7013. 000047CE  7600                     moveq.l    D3, 0x00
  7014. 000047D0  2F0B                     move.l     -[A7], A3
  7015. 000047D2  2F0E                     move.l     -[A7], A6
  7016. 000047D4  A8DC                     syscall    CopyRgn
  7017. 000047D6  6008                     bra        +0xA /* 000047E0 */
  7018. label000047D8:
  7019. 000047D8  2F0B                     move.l     -[A7], A3
  7020. 000047DA  2F0E                     move.l     -[A7], A6
  7021. 000047DC  2F0E                     move.l     -[A7], A6
  7022. 000047DE  A8E5                     syscall    UnionRgn
  7023. label000047E0:
  7024. 000047E0  5284                     addq.l     D4, 1
  7025. 000047E2  508A                     addq.l     A2, 8
  7026. label000047E4:
  7027. 000047E4  B886                     cmp.l      D4, D6
  7028. 000047E6  6DA0                     blt        -0x5E /* 00004788 */
  7029. 000047E8  2F2F 0038                move.l     -[A7], [A7 + 0x38]
  7030. 000047EC  4EAD DD88                jsr        [A5 - 0x2278]
  7031. 000047F0  2F0B                     move.l     -[A7], A3
  7032. 000047F2  A8D9                     syscall    DisposRgn/DisposeRgn
  7033. 000047F4  4EAD DFA0                jsr        [A5 - 0x2060]
  7034. 000047F8  2F0E                     move.l     -[A7], A6
  7035. 000047FA  2F0C                     move.l     -[A7], A4
  7036. 000047FC  4EAD EA70                jsr        [A5 - 0x1590]
  7037. 00004800  2F0E                     move.l     -[A7], A6
  7038. 00004802  A8D9                     syscall    DisposRgn/DisposeRgn
  7039. 00004804  206F 0014                movea.l    A0, [A7 + 0x14]
  7040. 00004808  A049                     syscall    HPurge
  7041. 0000480A  4EAD DD48                jsr        [A5 - 0x22B8]
  7042. 0000480E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7043. label00004812:
  7044. 00004812  426F 0044                clr.w      [A7 + 0x44]
  7045. label00004816:
  7046. 00004816  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7047. 0000481A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7048. 0000481E  205F                     movea.l    A0, [A7]+
  7049. 00004820  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7050. 00004824  4ED0                     jmp        [A0]
  7051. 00004826  594F                     subq.w     A7, 4
  7052. 00004828  1F3C 0010                move.b     -[A7], 0x10
  7053. 0000482C  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  7054. 00004830  4EAD E818                jsr        [A5 - 0x17E8]
  7055. 00004834  2050                     movea.l    A0, [A0]
  7056. 00004836  2F48 0006                move.l     [A7 + 0x6], A0
  7057. 0000483A  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  7058. 0000483E  4EBA DBB6                jsr        [PC - 0x244A /* 000023F6 */]
  7059. 00004842  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7060. 00004846  205F                     movea.l    A0, [A7]+
  7061. 00004848  504F                     addq.w     A7, 8
  7062. 0000484A  4ED0                     jmp        [A0]
  7063. fn0000484C:
  7064. 0000484C  2F0A                     move.l     -[A7], A2
  7065. 0000484E  246F 0008                movea.l    A2, [A7 + 0x8]
  7066. 00004852  7000                     moveq.l    D0, 0x00
  7067. 00004854  102F 000C                move.b     D0, [A7 + 0xC]
  7068. 00004858  0C80 0000 0005           cmpi.l     D0, 0x5
  7069. 0000485E  6216                     bhi        +0x18 /* 00004876 */
  7070. 00004860  D040                     add.w      D0, D0
  7071. 00004862  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  7072. 00004866  4EFB 0002                jmp        [PC + D0.w + 0x2]
  7073. 0000486A  000C 0062                ori.b      A4, 0x62 /* 'b' */
  7074. 0000486E  007C 0096                ori.w      sr, 150
  7075. 00004872  00B0 0038 41ED EBE8 2548 ori.l      [0x2548], 0x3841ED
  7076. // begin alternate branch 00004876-00004886
  7077. label00004876:
  7078. 00004876  41ED EBE8                lea.l      A0, [A5 - 0x1418]
  7079. 0000487A  2548 001E                move.l     [A2 + 0x1E], A0
  7080. 0000487E  41ED EBF0                lea.l      A0, [A5 - 0x1410]
  7081. 00004882  2548 0022                move.l     [A2 + 0x22], A0
  7082. // end alternate branch 00004876-00004886
  7083. label00004876: // (misaligned)
  7084. 0000487C  001E 41ED                ori.b      [A6]+, 0xED
  7085. 00004880  EBF0 2548 0022           bfexts     D2, [A0 + D0.w + 0x22] {21:8}
  7086. 00004886  41ED EC00                lea.l      A0, [A5 - 0x1400]
  7087. 0000488A  2548 0026                move.l     [A2 + 0x26], A0
  7088. 0000488E  41ED EBF8                lea.l      A0, [A5 - 0x1408]
  7089. 00004892  2548 0036                move.l     [A2 + 0x36], A0
  7090. 00004896  41ED EC08                lea.l      A0, [A5 - 0x13F8]
  7091. 0000489A  2548 0032                move.l     [A2 + 0x32], A0
  7092. 0000489E  6000 0092                bra        +0x94 /* 00004932 */
  7093. 000048A2  41ED EBA8                lea.l      A0, [A5 - 0x1458]
  7094. 000048A6  2548 001E                move.l     [A2 + 0x1E], A0
  7095. 000048AA  41ED EBB0                lea.l      A0, [A5 - 0x1450]
  7096. 000048AE  2548 0022                move.l     [A2 + 0x22], A0
  7097. 000048B2  41ED EBC0                lea.l      A0, [A5 - 0x1440]
  7098. 000048B6  2548 0026                move.l     [A2 + 0x26], A0
  7099. 000048BA  41ED EBB8                lea.l      A0, [A5 - 0x1448]
  7100. 000048BE  2548 0036                move.l     [A2 + 0x36], A0
  7101. 000048C2  41ED EBC8                lea.l      A0, [A5 - 0x1438]
  7102. 000048C6  2548 0032                move.l     [A2 + 0x32], A0
  7103. 000048CA  6066                     bra        +0x68 /* 00004932 */
  7104. 000048CC  41ED EB90                lea.l      A0, [A5 - 0x1470]
  7105. 000048D0  2548 001E                move.l     [A2 + 0x1E], A0
  7106. 000048D4  41ED EB98                lea.l      A0, [A5 - 0x1468]
  7107. 000048D8  2548 0022                move.l     [A2 + 0x22], A0
  7108. 000048DC  41ED EBA0                lea.l      A0, [A5 - 0x1460]
  7109. 000048E0  2548 0026                move.l     [A2 + 0x26], A0
  7110. 000048E4  604C                     bra        +0x4E /* 00004932 */
  7111. 000048E6  41ED EB60                lea.l      A0, [A5 - 0x14A0]
  7112. 000048EA  2548 001E                move.l     [A2 + 0x1E], A0
  7113. 000048EE  41ED EB68                lea.l      A0, [A5 - 0x1498]
  7114. 000048F2  2548 0022                move.l     [A2 + 0x22], A0
  7115. 000048F6  41ED EB70                lea.l      A0, [A5 - 0x1490]
  7116. 000048FA  2548 0026                move.l     [A2 + 0x26], A0
  7117. 000048FE  6032                     bra        +0x34 /* 00004932 */
  7118. 00004900  41ED EBD0                lea.l      A0, [A5 - 0x1430]
  7119. 00004904  2548 001E                move.l     [A2 + 0x1E], A0
  7120. 00004908  41ED EBD8                lea.l      A0, [A5 - 0x1428]
  7121. 0000490C  2548 0022                move.l     [A2 + 0x22], A0
  7122. 00004910  41ED EBE0                lea.l      A0, [A5 - 0x1420]
  7123. 00004914  2548 0026                move.l     [A2 + 0x26], A0
  7124. 00004918  6018                     bra        +0x1A /* 00004932 */
  7125. 0000491A  41ED EB78                lea.l      A0, [A5 - 0x1488]
  7126. 0000491E  2548 001E                move.l     [A2 + 0x1E], A0
  7127. 00004922  41ED EB80                lea.l      A0, [A5 - 0x1480]
  7128. 00004926  2548 0022                move.l     [A2 + 0x22], A0
  7129. 0000492A  41ED EB88                lea.l      A0, [A5 - 0x1478]
  7130. 0000492E  2548 0026                move.l     [A2 + 0x26], A0
  7131. label00004932:
  7132. 00004932  245F                     movea.l    A2, [A7]+
  7133. 00004934  4E75                     rts
  7134. fn00004936:
  7135. 00004936  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7136. 0000493A  6612                     bne        +0x14 /* 0000494E */
  7137. 0000493C  1F3C 0006                move.b     -[A7], 0x6
  7138. 00004940  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  7139. 00004944  4EAD E818                jsr        [A5 - 0x17E8]
  7140. 00004948  3010                     move.w     D0, [A0]
  7141. 0000494A  5C4F                     addq.w     A7, 6
  7142. 0000494C  6010                     bra        +0x12 /* 0000495E */
  7143. label0000494E:
  7144. 0000494E  1F3C 0011                move.b     -[A7], 0x11
  7145. 00004952  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  7146. 00004956  4EAD E818                jsr        [A5 - 0x17E8]
  7147. 0000495A  3010                     move.w     D0, [A0]
  7148. 0000495C  5C4F                     addq.w     A7, 6
  7149. label0000495E:
  7150. 0000495E  4E75                     rts
  7151. 00004960  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  7152. 00004964  4FEF FF8A                lea.l      A7, [A7 - 0x76]
  7153. 00004968  246F 0092                movea.l    A2, [A7 + 0x92]
  7154. 0000496C  2652                     movea.l    A3, [A2]
  7155. 0000496E  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7156. 00004972  6604                     bne        +0x6 /* 00004978 */
  7157. 00004974  204B                     movea.l    A0, A3
  7158. 00004976  600A                     bra        +0xC /* 00004982 */
  7159. label00004978:
  7160. 00004978  594F                     subq.w     A7, 4
  7161. 0000497A  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7162. 0000497E  4E90                     jsr        [A0]
  7163. 00004980  205F                     movea.l    A0, [A7]+
  7164. label00004982:
  7165. 00004982  2C48                     movea.l    A6, A0
  7166. 00004984  7801                     moveq.l    D4, 0x01
  7167. 00004986  4857                     pea.l      [A7]
  7168. 00004988  306A 0008                movea.w    A0, [A2 + 0x8]
  7169. 0000498C  2F08                     move.l     -[A7], A0
  7170. 0000498E  1F3C 0006                move.b     -[A7], 0x6
  7171. 00004992  2F0E                     move.l     -[A7], A6
  7172. 00004994  4EAD E818                jsr        [A5 - 0x17E8]
  7173. 00004998  5C4F                     addq.w     A7, 6
  7174. 0000499A  3F10                     move.w     -[A7], [A0]
  7175. 0000499C  4EAD E288                jsr        [A5 - 0x1D78]
  7176. 000049A0  3F40 0010                move.w     [A7 + 0x10], D0
  7177. 000049A4  4A40                     tst.w      D0
  7178. 000049A6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7179. 000049AA  670E                     beq        +0x10 /* 000049BA */
  7180. 000049AC  302F 0006                move.w     D0, [A7 + 0x6]
  7181. 000049B0  4FEF 0076                lea.l      A7, [A7 + 0x76]
  7182. 000049B4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  7183. 000049B8  4E75                     rts
  7184. label000049BA:
  7185. 000049BA  4A97                     tst.l      [A7]
  7186. 000049BC  6614                     bne        +0x16 /* 000049D2 */
  7187. 000049BE  4227                     clr.b      -[A7]
  7188. 000049C0  2F0A                     move.l     -[A7], A2
  7189. 000049C2  4EBA FE88                jsr        [PC - 0x178 /* 0000484C */]
  7190. 000049C6  7000                     moveq.l    D0, 0x00
  7191. 000049C8  4FEF 007C                lea.l      A7, [A7 + 0x7C]
  7192. 000049CC  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  7193. 000049D0  4E75                     rts
  7194. label000049D2:
  7195. 000049D2  2F17                     move.l     -[A7], [A7]
  7196. 000049D4  4EAD DD80                jsr        [A5 - 0x2280]
  7197. 000049D8  2848                     movea.l    A4, A0
  7198. 000049DA  204C                     movea.l    A0, A4
  7199. 000049DC  70FF                     moveq.l    D0, 0xFFFFFFFF
  7200. label000049DE:
  7201. 000049DE  5280                     addq.l     D0, 1
  7202. 000049E0  4A18                     tst.b      [A0]+
  7203. 000049E2  66FA                     bne        -0x4 /* 000049DE */
  7204. 000049E4  204C                     movea.l    A0, A4
  7205. 000049E6  D1C0                     add.l      A0, D0
  7206. 000049E8  5288                     addq.l     A0, 1
  7207. 000049EA  2608                     move.l     D3, A0
  7208. 000049EC  584F                     addq.w     A7, 4
  7209. 000049EE  6000 00B6                bra        +0xB8 /* 00004AA6 */
  7210. label000049F2:
  7211. 000049F2  1F3C 0005                move.b     -[A7], 0x5
  7212. 000049F6  2F0E                     move.l     -[A7], A6
  7213. 000049F8  4EAD E818                jsr        [A5 - 0x17E8]
  7214. 000049FC  2648                     movea.l    A3, A0
  7215. 000049FE  3F53 000E                move.w     [A7 + 0xE], [A3]
  7216. 00004A02  2F6B 0002 0010           move.l     [A7 + 0x10], [A3 + 0x2]
  7217. 00004A08  2F0C                     move.l     -[A7], A4
  7218. 00004A0A  486F 0018                pea.l      [A7 + 0x18]
  7219. 00004A0E  4EAD DDC0                jsr        [A5 - 0x2240]
  7220. 00004A12  4AAD 1326                tst.l      [A5 + 0x1326]
  7221. 00004A16  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7222. 00004A1A  6720                     beq        +0x22 /* 00004A3C */
  7223. 00004A1C  554F                     subq.w     A7, 2
  7224. 00004A1E  486F 000A                pea.l      [A7 + 0xA]
  7225. 00004A22  1F3C 0001                move.b     -[A7], 0x1
  7226. 00004A26  486F 000C                pea.l      [A7 + 0xC]
  7227. 00004A2A  486F 0011                pea.l      [A7 + 0x11]
  7228. 00004A2E  700C                     moveq.l    D0, 0x0C
  7229. 00004A30  A823                     syscall    AliasDispatch
  7230. 00004A32  301F                     move.w     D0, [A7]+
  7231. 00004A34  3F40 0006                move.w     [A7 + 0x6], D0
  7232. 00004A38  4A40                     tst.w      D0
  7233. 00004A3A  667C                     bne        +0x7E /* 00004AB8 */
  7234. label00004A3C:
  7235. 00004A3C  486F 0006                pea.l      [A7 + 0x6]
  7236. 00004A40  2F0E                     move.l     -[A7], A6
  7237. 00004A42  486F 0010                pea.l      [A7 + 0x10]
  7238. 00004A46  4EBA D0D4                jsr        [PC - 0x2F2C /* 00001B1C */]
  7239. 00004A4A  2648                     movea.l    A3, A0
  7240. 00004A4C  4A6F 0012                tst.w      [A7 + 0x12]
  7241. 00004A50  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7242. 00004A54  6662                     bne        +0x64 /* 00004AB8 */
  7243. 00004A56  7001                     moveq.l    D0, 0x01
  7244. 00004A58  2F40 004E                move.l     [A7 + 0x4E], D0
  7245. 00004A5C  486F 004E                pea.l      [A7 + 0x4E]
  7246. 00004A60  2F03                     move.l     -[A7], D3
  7247. 00004A62  2F0B                     move.l     -[A7], A3
  7248. 00004A64  4EBA D1D4                jsr        [PC - 0x2E2C /* 00001C3A */]
  7249. 00004A68  256F 005E 0016           move.l     [A2 + 0x16], [A7 + 0x5E]
  7250. 00004A6E  256F 0062 001A           move.l     [A2 + 0x1A], [A7 + 0x62]
  7251. 00004A74  256F 0066 001E           move.l     [A2 + 0x1E], [A7 + 0x66]
  7252. 00004A7A  256F 006A 0022           move.l     [A2 + 0x22], [A7 + 0x6A]
  7253. 00004A80  256F 006E 0036           move.l     [A2 + 0x36], [A7 + 0x6E]
  7254. 00004A86  256F 0072 0026           move.l     [A2 + 0x26], [A7 + 0x72]
  7255. 00004A8C  256F 007A 002A           move.l     [A2 + 0x2A], [A7 + 0x7A]
  7256. 00004A92  256F 007E 002E           move.l     [A2 + 0x2E], [A7 + 0x7E]
  7257. 00004A98  256F 0076 0032           move.l     [A2 + 0x32], [A7 + 0x76]
  7258. 00004A9E  7800                     moveq.l    D4, 0x00
  7259. 00004AA0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7260. 00004AA4  6012                     bra        +0x14 /* 00004AB8 */
  7261. label00004AA6:
  7262. 00004AA6  486D B67C                pea.l      [A5 - 0x4984]
  7263. 00004AAA  2F0C                     move.l     -[A7], A4
  7264. 00004AAC  4EAD DE10                jsr        [A5 - 0x21F0]
  7265. 00004AB0  4A80                     tst.l      D0
  7266. 00004AB2  504F                     addq.w     A7, 8
  7267. 00004AB4  6600 FF3C                bne        -0xC2 /* 000049F2 */
  7268. label00004AB8:
  7269. 00004AB8  4A6F 0006                tst.w      [A7 + 0x6]
  7270. 00004ABC  6600 008A                bne        +0x8C /* 00004B48 */
  7271. 00004AC0  4A84                     tst.l      D4
  7272. 00004AC2  6700 0084                beq        +0x86 /* 00004B48 */
  7273. 00004AC6  7800                     moveq.l    D4, 0x00
  7274. 00004AC8  486D B688                pea.l      [A5 - 0x4978]
  7275. 00004ACC  2F03                     move.l     -[A7], D3
  7276. 00004ACE  4EAD DE10                jsr        [A5 - 0x21F0]
  7277. 00004AD2  4A80                     tst.l      D0
  7278. 00004AD4  504F                     addq.w     A7, 8
  7279. 00004AD6  6604                     bne        +0x6 /* 00004ADC */
  7280. 00004AD8  7800                     moveq.l    D4, 0x00
  7281. 00004ADA  6062                     bra        +0x64 /* 00004B3E */
  7282. label00004ADC:
  7283. 00004ADC  486D B694                pea.l      [A5 - 0x496C]
  7284. 00004AE0  2F03                     move.l     -[A7], D3
  7285. 00004AE2  4EAD DE10                jsr        [A5 - 0x21F0]
  7286. 00004AE6  4A80                     tst.l      D0
  7287. 00004AE8  504F                     addq.w     A7, 8
  7288. 00004AEA  6604                     bne        +0x6 /* 00004AF0 */
  7289. 00004AEC  7805                     moveq.l    D4, 0x05
  7290. 00004AEE  604E                     bra        +0x50 /* 00004B3E */
  7291. label00004AF0:
  7292. 00004AF0  486D B6A7                pea.l      [A5 - 0x4959]
  7293. 00004AF4  2F03                     move.l     -[A7], D3
  7294. 00004AF6  4EAD DE10                jsr        [A5 - 0x21F0]
  7295. 00004AFA  4A80                     tst.l      D0
  7296. 00004AFC  504F                     addq.w     A7, 8
  7297. 00004AFE  6604                     bne        +0x6 /* 00004B04 */
  7298. 00004B00  7801                     moveq.l    D4, 0x01
  7299. 00004B02  603A                     bra        +0x3C /* 00004B3E */
  7300. label00004B04:
  7301. 00004B04  486D B6B4                pea.l      [A5 - 0x494C]
  7302. 00004B08  2F03                     move.l     -[A7], D3
  7303. 00004B0A  4EAD DE10                jsr        [A5 - 0x21F0]
  7304. 00004B0E  4A80                     tst.l      D0
  7305. 00004B10  504F                     addq.w     A7, 8
  7306. 00004B12  6604                     bne        +0x6 /* 00004B18 */
  7307. 00004B14  7802                     moveq.l    D4, 0x02
  7308. 00004B16  6026                     bra        +0x28 /* 00004B3E */
  7309. label00004B18:
  7310. 00004B18  486D B6BF                pea.l      [A5 - 0x4941]
  7311. 00004B1C  2F03                     move.l     -[A7], D3
  7312. 00004B1E  4EAD DE10                jsr        [A5 - 0x21F0]
  7313. 00004B22  4A80                     tst.l      D0
  7314. 00004B24  504F                     addq.w     A7, 8
  7315. 00004B26  6604                     bne        +0x6 /* 00004B2C */
  7316. 00004B28  7803                     moveq.l    D4, 0x03
  7317. 00004B2A  6012                     bra        +0x14 /* 00004B3E */
  7318. label00004B2C:
  7319. 00004B2C  486D B6CA                pea.l      [A5 - 0x4936]
  7320. 00004B30  2F03                     move.l     -[A7], D3
  7321. 00004B32  4EAD DE10                jsr        [A5 - 0x21F0]
  7322. 00004B36  4A80                     tst.l      D0
  7323. 00004B38  504F                     addq.w     A7, 8
  7324. 00004B3A  6602                     bne        +0x4 /* 00004B3E */
  7325. 00004B3C  7804                     moveq.l    D4, 0x04
  7326. label00004B3E:
  7327. 00004B3E  1F04                     move.b     -[A7], D4
  7328. 00004B40  2F0A                     move.l     -[A7], A2
  7329. 00004B42  4EBA FD08                jsr        [PC - 0x2F8 /* 0000484C */]
  7330. 00004B46  5C4F                     addq.w     A7, 6
  7331. label00004B48:
  7332. 00004B48  2F17                     move.l     -[A7], [A7]
  7333. 00004B4A  4EAD DD88                jsr        [A5 - 0x2278]
  7334. 00004B4E  7000                     moveq.l    D0, 0x00
  7335. 00004B50  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  7336. 00004B54  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  7337. 00004B58  4E75                     rts
  7338. 00004B5A  594F                     subq.w     A7, 4
  7339. 00004B5C  206F 0008                movea.l    A0, [A7 + 0x8]
  7340. 00004B60  2E90                     move.l     [A7], [A0]
  7341. 00004B62  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7342. 00004B66  6604                     bne        +0x6 /* 00004B6C */
  7343. 00004B68  2057                     movea.l    A0, [A7]
  7344. 00004B6A  600A                     bra        +0xC /* 00004B76 */
  7345. label00004B6C:
  7346. 00004B6C  594F                     subq.w     A7, 4
  7347. 00004B6E  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7348. 00004B72  4E90                     jsr        [A0]
  7349. 00004B74  205F                     movea.l    A0, [A7]+
  7350. label00004B76:
  7351. 00004B76  4850                     pea.l      [A0]
  7352. 00004B78  4EBA D09E                jsr        [PC - 0x2F62 /* 00001C18 */]
  7353. 00004B7C  7000                     moveq.l    D0, 0x00
  7354. 00004B7E  504F                     addq.w     A7, 8
  7355. 00004B80  4E75                     rts
  7356. 00004B82  48E7 1030                movem.l    -[A7], D3,A2,A3
  7357. 00004B86  246F 0018                movea.l    A2, [A7 + 0x18]
  7358. 00004B8A  266F 001C                movea.l    A3, [A7 + 0x1C]
  7359. 00004B8E  2F0A                     move.l     -[A7], A2
  7360. 00004B90  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  7361. 00004B94  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7362. 00004B98  6606                     bne        +0x8 /* 00004BA0 */
  7363. 00004B9A  206F 0018                movea.l    A0, [A7 + 0x18]
  7364. 00004B9E  600A                     bra        +0xC /* 00004BAA */
  7365. label00004BA0:
  7366. 00004BA0  594F                     subq.w     A7, 4
  7367. 00004BA2  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7368. 00004BA6  4E90                     jsr        [A0]
  7369. 00004BA8  205F                     movea.l    A0, [A7]+
  7370. label00004BAA:
  7371. 00004BAA  4850                     pea.l      [A0]
  7372. 00004BAC  4EBA FD88                jsr        [PC - 0x278 /* 00004936 */]
  7373. 00004BB0  584F                     addq.w     A7, 4
  7374. 00004BB2  3F00                     move.w     -[A7], D0
  7375. 00004BB4  4EAD E1F0                jsr        [A5 - 0x1E10]
  7376. 00004BB8  3600                     move.w     D3, D0
  7377. 00004BBA  200A                     move.l     D0, A2
  7378. 00004BBC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7379. 00004BC0  6712                     beq        +0x14 /* 00004BD4 */
  7380. 00004BC2  2052                     movea.l    A0, [A2]
  7381. 00004BC4  A04A                     syscall    HNoPurge
  7382. 00004BC6  594F                     subq.w     A7, 4
  7383. 00004BC8  2F12                     move.l     -[A7], [A2]
  7384. 00004BCA  4EAD D9AC                jsr        [A5 - 0x2654]
  7385. 00004BCE  201F                     move.l     D0, [A7]+
  7386. 00004BD0  2680                     move.l     [A3], D0
  7387. 00004BD2  6002                     bra        +0x4 /* 00004BD6 */
  7388. label00004BD4:
  7389. 00004BD4  4293                     clr.l      [A3]
  7390. label00004BD6:
  7391. 00004BD6  3003                     move.w     D0, D3
  7392. 00004BD8  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7393. 00004BDC  4E75                     rts
  7394. 00004BDE  4AAF 000C                tst.l      [A7 + 0xC]
  7395. 00004BE2  6706                     beq        +0x8 /* 00004BEA */
  7396. 00004BE4  206F 000C                movea.l    A0, [A7 + 0xC]
  7397. 00004BE8  A049                     syscall    HPurge
  7398. label00004BEA:
  7399. 00004BEA  7000                     moveq.l    D0, 0x00
  7400. 00004BEC  4E75                     rts
  7401. 00004BEE  48E7 1030                movem.l    -[A7], D3,A2,A3
  7402. 00004BF2  246F 0018                movea.l    A2, [A7 + 0x18]
  7403. 00004BF6  266F 001C                movea.l    A3, [A7 + 0x1C]
  7404. 00004BFA  2F0A                     move.l     -[A7], A2
  7405. 00004BFC  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  7406. 00004C00  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7407. 00004C04  6606                     bne        +0x8 /* 00004C0C */
  7408. 00004C06  206F 0018                movea.l    A0, [A7 + 0x18]
  7409. 00004C0A  600A                     bra        +0xC /* 00004C16 */
  7410. label00004C0C:
  7411. 00004C0C  594F                     subq.w     A7, 4
  7412. 00004C0E  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7413. 00004C12  4E90                     jsr        [A0]
  7414. 00004C14  205F                     movea.l    A0, [A7]+
  7415. label00004C16:
  7416. 00004C16  4850                     pea.l      [A0]
  7417. 00004C18  4EBA FD1C                jsr        [PC - 0x2E4 /* 00004936 */]
  7418. 00004C1C  584F                     addq.w     A7, 4
  7419. 00004C1E  3F00                     move.w     -[A7], D0
  7420. 00004C20  4EAD E280                jsr        [A5 - 0x1D80]
  7421. 00004C24  3600                     move.w     D3, D0
  7422. 00004C26  200A                     move.l     D0, A2
  7423. 00004C28  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7424. 00004C2C  6714                     beq        +0x16 /* 00004C42 */
  7425. 00004C2E  2052                     movea.l    A0, [A2]
  7426. 00004C30  A04A                     syscall    HNoPurge
  7427. 00004C32  594F                     subq.w     A7, 4
  7428. 00004C34  2F12                     move.l     -[A7], [A2]
  7429. 00004C36  4EAD D9AC                jsr        [A5 - 0x2654]
  7430. 00004C3A  201F                     move.l     D0, [A7]+
  7431. 00004C3C  E688                     lsr        D0, 3
  7432. 00004C3E  2680                     move.l     [A3], D0
  7433. 00004C40  6002                     bra        +0x4 /* 00004C44 */
  7434. label00004C42:
  7435. 00004C42  4293                     clr.l      [A3]
  7436. label00004C44:
  7437. 00004C44  3003                     move.w     D0, D3
  7438. 00004C46  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7439. 00004C4A  4E75                     rts
  7440. 00004C4C  4AAF 000C                tst.l      [A7 + 0xC]
  7441. 00004C50  6706                     beq        +0x8 /* 00004C58 */
  7442. 00004C52  206F 000C                movea.l    A0, [A7 + 0xC]
  7443. 00004C56  A049                     syscall    HPurge
  7444. label00004C58:
  7445. 00004C58  7000                     moveq.l    D0, 0x00
  7446. 00004C5A  4E75                     rts
  7447. 00004C5C  302F 000C                move.w     D0, [A7 + 0xC]
  7448. 00004C60  48C0                     ext.l      D0
  7449. 00004C62  2F00                     move.l     -[A7], D0
  7450. 00004C64  206F 000C                movea.l    A0, [A7 + 0xC]
  7451. 00004C68  70FF                     moveq.l    D0, 0xFFFFFFFF
  7452. label00004C6A:
  7453. 00004C6A  5280                     addq.l     D0, 1
  7454. 00004C6C  4A18                     tst.b      [A0]+
  7455. 00004C6E  66FA                     bne        -0x4 /* 00004C6A */
  7456. 00004C70  3F00                     move.w     -[A7], D0
  7457. 00004C72  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  7458. 00004C76  4EAD DE78                jsr        [A5 - 0x2188]
  7459. 00004C7A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7460. 00004C7E  4E75                     rts
  7461. 00004C80  2F03                     move.l     -[A7], D3
  7462. 00004C82  262F 000A                move.l     D3, [A7 + 0xA]
  7463. 00004C86  4A6F 0008                tst.w      [A7 + 0x8]
  7464. 00004C8A  6768                     beq        +0x6A /* 00004CF4 */
  7465. 00004C8C  4AAD A37A                tst.l      [A5 - 0x5C86]
  7466. 00004C90  673E                     beq        +0x40 /* 00004CD0 */
  7467. 00004C92  4AAD A37E                tst.l      [A5 - 0x5C82]
  7468. 00004C96  6708                     beq        +0xA /* 00004CA0 */
  7469. 00004C98  4267                     clr.w      -[A7]
  7470. 00004C9A  4EBA 0282                jsr        [PC + 0x282 /* 00004F1E */]
  7471. 00004C9E  544F                     addq.w     A7, 2
  7472. label00004CA0:
  7473. 00004CA0  2F03                     move.l     -[A7], D3
  7474. 00004CA2  2F2D A37A                move.l     -[A7], [A5 - 0x5C86]
  7475. 00004CA6  4EAD EE28                jsr        [A5 - 0x11D8]
  7476. 00004CAA  4EAD EDF8                jsr        [A5 - 0x1208]
  7477. 00004CAE  4A40                     tst.w      D0
  7478. 00004CB0  504F                     addq.w     A7, 8
  7479. 00004CB2  6710                     beq        +0x12 /* 00004CC4 */
  7480. 00004CB4  2F2D A37A                move.l     -[A7], [A5 - 0x5C86]
  7481. 00004CB8  4EAD EE10                jsr        [A5 - 0x11F0]
  7482. 00004CBC  42AD A37A                clr.l      [A5 - 0x5C86]
  7483. 00004CC0  584F                     addq.w     A7, 4
  7484. 00004CC2  6064                     bra        +0x66 /* 00004D28 */
  7485. label00004CC4:
  7486. 00004CC4  3B7C 0001 A392           move.w     [A5 - 0x5C6E], 0x1
  7487. 00004CCA  2B43 A38E                move.l     [A5 - 0x5C72], D3
  7488. 00004CCE  6058                     bra        +0x5A /* 00004D28 */
  7489. label00004CD0:
  7490. 00004CD0  2F03                     move.l     -[A7], D3
  7491. 00004CD2  4EAD EE00                jsr        [A5 - 0x1200]
  7492. 00004CD6  2B48 A37A                move.l     [A5 - 0x5C86], A0
  7493. 00004CDA  2008                     move.l     D0, A0
  7494. 00004CDC  584F                     addq.w     A7, 4
  7495. 00004CDE  6748                     beq        +0x4A /* 00004D28 */
  7496. 00004CE0  42AD A382                clr.l      [A5 - 0x5C7E]
  7497. 00004CE4  42AD A386                clr.l      [A5 - 0x5C7A]
  7498. 00004CE8  2B43 A38E                move.l     [A5 - 0x5C72], D3
  7499. 00004CEC  3B7C 0001 A392           move.w     [A5 - 0x5C6E], 0x1
  7500. 00004CF2  6034                     bra        +0x36 /* 00004D28 */
  7501. label00004CF4:
  7502. 00004CF4  426D A392                clr.w      [A5 - 0x5C6E]
  7503. 00004CF8  4AAD A37A                tst.l      [A5 - 0x5C86]
  7504. 00004CFC  6718                     beq        +0x1A /* 00004D16 */
  7505. 00004CFE  4AAD A37E                tst.l      [A5 - 0x5C82]
  7506. 00004D02  6708                     beq        +0xA /* 00004D0C */
  7507. 00004D04  4267                     clr.w      -[A7]
  7508. 00004D06  4EBA 0216                jsr        [PC + 0x216 /* 00004F1E */]
  7509. 00004D0A  544F                     addq.w     A7, 2
  7510. label00004D0C:
  7511. 00004D0C  2F2D A37A                move.l     -[A7], [A5 - 0x5C86]
  7512. 00004D10  4EAD EE10                jsr        [A5 - 0x11F0]
  7513. 00004D14  584F                     addq.w     A7, 4
  7514. label00004D16:
  7515. 00004D16  4878 001A                push.l     0x1A
  7516. 00004D1A  42A7                     clr.l      -[A7]
  7517. 00004D1C  486D A37A                pea.l      [A5 - 0x5C86]
  7518. 00004D20  4EAD D94C                jsr        [A5 - 0x26B4]
  7519. 00004D24  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7520. label00004D28:
  7521. 00004D28  261F                     move.l     D3, [A7]+
  7522. 00004D2A  4E75                     rts
  7523. 00004D2C  48E7 1820                movem.l    -[A7], D3,D4,A2
  7524. 00004D30  594F                     subq.w     A7, 4
  7525. 00004D32  382F 0014                move.w     D4, [A7 + 0x14]
  7526. 00004D36  246F 0016                movea.l    A2, [A7 + 0x16]
  7527. 00004D3A  4AAD A37A                tst.l      [A5 - 0x5C86]
  7528. 00004D3E  6700 0158                beq        +0x15A /* 00004E98 */
  7529. 00004D42  202D A38A                move.l     D0, [A5 - 0x5C76]
  7530. 00004D46  90AD A382                sub.l      D0, [A5 - 0x5C7E]
  7531. 00004D4A  2B40 A386                move.l     [A5 - 0x5C7A], D0
  7532. 00004D4E  3F3C 0001                move.w     -[A7], 0x1
  7533. 00004D52  4EBA 01CA                jsr        [PC + 0x1CA /* 00004F1E */]
  7534. 00004D56  202D A386                move.l     D0, [A5 - 0x5C7A]
  7535. 00004D5A  B0AD A38E                cmp.l      D0, [A5 - 0x5C72]
  7536. 00004D5E  544F                     addq.w     A7, 2
  7537. 00004D60  6D76                     blt        +0x78 /* 00004DD8 */
  7538. 00004D62  2B6D A38A A382           move.l     [A5 - 0x5C7E], [A5 - 0x5C76]
  7539. 00004D68  554F                     subq.w     A7, 2
  7540. 00004D6A  3F04                     move.w     -[A7], D4
  7541. 00004D6C  3F3C 0001                move.w     -[A7], 0x1
  7542. 00004D70  2F2D A382                move.l     -[A7], [A5 - 0x5C7E]
  7543. 00004D74  4EAD D9F4                jsr        [A5 - 0x260C]
  7544. 00004D78  301F                     move.w     D0, [A7]+
  7545. 00004D7A  670A                     beq        +0xC /* 00004D86 */
  7546. 00004D7C  7000                     moveq.l    D0, 0x00
  7547. 00004D7E  584F                     addq.w     A7, 4
  7548. 00004D80  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  7549. 00004D84  4E75                     rts
  7550. label00004D86:
  7551. 00004D86  42AD A386                clr.l      [A5 - 0x5C7A]
  7552. 00004D8A  2EAD A38E                move.l     [A7], [A5 - 0x5C72]
  7553. 00004D8E  554F                     subq.w     A7, 2
  7554. 00004D90  3F04                     move.w     -[A7], D4
  7555. 00004D92  486F 0004                pea.l      [A7 + 0x4]
  7556. 00004D96  2F2D A37E                move.l     -[A7], [A5 - 0x5C82]
  7557. 00004D9A  4EAD D9D0                jsr        [A5 - 0x2630]
  7558. 00004D9E  301F                     move.w     D0, [A7]+
  7559. 00004DA0  2017                     move.l     D0, [A7]
  7560. 00004DA2  B0AF 001A                cmp.l      D0, [A7 + 0x1A]
  7561. 00004DA6  6D06                     blt        +0x8 /* 00004DAE */
  7562. 00004DA8  202F 001A                move.l     D0, [A7 + 0x1A]
  7563. 00004DAC  6002                     bra        +0x4 /* 00004DB0 */
  7564. label00004DAE:
  7565. 00004DAE  2017                     move.l     D0, [A7]
  7566. label00004DB0:
  7567. 00004DB0  2E80                     move.l     [A7], D0
  7568. 00004DB2  206D A37E                movea.l    A0, [A5 - 0x5C82]
  7569. 00004DB6  202D A386                move.l     D0, [A5 - 0x5C7A]
  7570. 00004DBA  43F0 0800                lea.l      A1, [A0 + D0]
  7571. 00004DBE  204A                     movea.l    A0, A2
  7572. 00004DC0  2217                     move.l     D1, [A7]
  7573. 00004DC2  2008                     move.l     D0, A0
  7574. 00004DC4  4A81                     tst.l      D1
  7575. 00004DC6  6706                     beq        +0x8 /* 00004DCE */
  7576. label00004DC8:
  7577. 00004DC8  10D9                     move.b     [A0]+, [A1]+
  7578. 00004DCA  5381                     subq.l     D1, 1
  7579. 00004DCC  66FA                     bne        -0x4 /* 00004DC8 */
  7580. label00004DCE:
  7581. 00004DCE  2017                     move.l     D0, [A7]
  7582. 00004DD0  D1AD A386                add.l      [A5 - 0x5C7A], D0
  7583. 00004DD4  6000 00B0                bra        +0xB2 /* 00004E86 */
  7584. label00004DD8:
  7585. 00004DD8  202D A386                move.l     D0, [A5 - 0x5C7A]
  7586. 00004DDC  D0AF 001A                add.l      D0, [A7 + 0x1A]
  7587. 00004DE0  B0AD A38E                cmp.l      D0, [A5 - 0x5C72]
  7588. 00004DE4  6E28                     bgt        +0x2A /* 00004E0E */
  7589. 00004DE6  2EAF 001A                move.l     [A7], [A7 + 0x1A]
  7590. 00004DEA  206D A37E                movea.l    A0, [A5 - 0x5C82]
  7591. 00004DEE  202D A386                move.l     D0, [A5 - 0x5C7A]
  7592. 00004DF2  43F0 0800                lea.l      A1, [A0 + D0]
  7593. 00004DF6  204A                     movea.l    A0, A2
  7594. 00004DF8  2217                     move.l     D1, [A7]
  7595. 00004DFA  2008                     move.l     D0, A0
  7596. 00004DFC  4A81                     tst.l      D1
  7597. 00004DFE  6706                     beq        +0x8 /* 00004E06 */
  7598. label00004E00:
  7599. 00004E00  10D9                     move.b     [A0]+, [A1]+
  7600. 00004E02  5381                     subq.l     D1, 1
  7601. 00004E04  66FA                     bne        -0x4 /* 00004E00 */
  7602. label00004E06:
  7603. 00004E06  2017                     move.l     D0, [A7]
  7604. 00004E08  D1AD A386                add.l      [A5 - 0x5C7A], D0
  7605. 00004E0C  6078                     bra        +0x7A /* 00004E86 */
  7606. label00004E0E:
  7607. 00004E0E  262D A38E                move.l     D3, [A5 - 0x5C72]
  7608. 00004E12  96AD A386                sub.l      D3, [A5 - 0x5C7A]
  7609. 00004E16  206D A37E                movea.l    A0, [A5 - 0x5C82]
  7610. 00004E1A  202D A386                move.l     D0, [A5 - 0x5C7A]
  7611. 00004E1E  43F0 0800                lea.l      A1, [A0 + D0]
  7612. 00004E22  204A                     movea.l    A0, A2
  7613. 00004E24  2203                     move.l     D1, D3
  7614. 00004E26  2008                     move.l     D0, A0
  7615. 00004E28  4A81                     tst.l      D1
  7616. 00004E2A  6706                     beq        +0x8 /* 00004E32 */
  7617. label00004E2C:
  7618. 00004E2C  10D9                     move.b     [A0]+, [A1]+
  7619. 00004E2E  5381                     subq.l     D1, 1
  7620. 00004E30  66FA                     bne        -0x4 /* 00004E2C */
  7621. label00004E32:
  7622. 00004E32  202D A38E                move.l     D0, [A5 - 0x5C72]
  7623. 00004E36  D1AD A382                add.l      [A5 - 0x5C7E], D0
  7624. 00004E3A  42AD A386                clr.l      [A5 - 0x5C7A]
  7625. 00004E3E  2EAD A38E                move.l     [A7], [A5 - 0x5C72]
  7626. 00004E42  554F                     subq.w     A7, 2
  7627. 00004E44  3F04                     move.w     -[A7], D4
  7628. 00004E46  486F 0004                pea.l      [A7 + 0x4]
  7629. 00004E4A  2F2D A37E                move.l     -[A7], [A5 - 0x5C82]
  7630. 00004E4E  4EAD D9D0                jsr        [A5 - 0x2630]
  7631. 00004E52  301F                     move.w     D0, [A7]+
  7632. 00004E54  202F 001A                move.l     D0, [A7 + 0x1A]
  7633. 00004E58  9083                     sub.l      D0, D3
  7634. 00004E5A  B097                     cmp.l      D0, [A7]
  7635. 00004E5C  6E08                     bgt        +0xA /* 00004E66 */
  7636. 00004E5E  202F 001A                move.l     D0, [A7 + 0x1A]
  7637. 00004E62  9083                     sub.l      D0, D3
  7638. 00004E64  6002                     bra        +0x4 /* 00004E68 */
  7639. label00004E66:
  7640. 00004E66  2017                     move.l     D0, [A7]
  7641. label00004E68:
  7642. 00004E68  2800                     move.l     D4, D0
  7643. 00004E6A  2003                     move.l     D0, D3
  7644. 00004E6C  D084                     add.l      D0, D4
  7645. 00004E6E  2E80                     move.l     [A7], D0
  7646. 00004E70  41F2 3800                lea.l      A0, [A2 + D3]
  7647. 00004E74  226D A37E                movea.l    A1, [A5 - 0x5C82]
  7648. 00004E78  2204                     move.l     D1, D4
  7649. 00004E7A  2008                     move.l     D0, A0
  7650. 00004E7C  4A81                     tst.l      D1
  7651. 00004E7E  6706                     beq        +0x8 /* 00004E86 */
  7652. label00004E80:
  7653. 00004E80  10D9                     move.b     [A0]+, [A1]+
  7654. 00004E82  5381                     subq.l     D1, 1
  7655. 00004E84  66FA                     bne        -0x4 /* 00004E80 */
  7656. label00004E86:
  7657. 00004E86  4267                     clr.w      -[A7]
  7658. 00004E88  4EBA 0094                jsr        [PC + 0x94 /* 00004F1E */]
  7659. 00004E8C  202F 0002                move.l     D0, [A7 + 0x2]
  7660. 00004E90  5C4F                     addq.w     A7, 6
  7661. 00004E92  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  7662. 00004E96  4E75                     rts
  7663. label00004E98:
  7664. 00004E98  554F                     subq.w     A7, 2
  7665. 00004E9A  3F04                     move.w     -[A7], D4
  7666. 00004E9C  486F 001E                pea.l      [A7 + 0x1E]
  7667. 00004EA0  2F0A                     move.l     -[A7], A2
  7668. 00004EA2  4EAD D9D0                jsr        [A5 - 0x2630]
  7669. 00004EA6  301F                     move.w     D0, [A7]+
  7670. 00004EA8  202F 001A                move.l     D0, [A7 + 0x1A]
  7671. 00004EAC  584F                     addq.w     A7, 4
  7672. 00004EAE  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  7673. 00004EB2  4E75                     rts
  7674. 00004EB4  2F03                     move.l     -[A7], D3
  7675. 00004EB6  262F 000A                move.l     D3, [A7 + 0xA]
  7676. 00004EBA  4AAD A37A                tst.l      [A5 - 0x5C86]
  7677. 00004EBE  6720                     beq        +0x22 /* 00004EE0 */
  7678. 00004EC0  2B43 A38A                move.l     [A5 - 0x5C76], D3
  7679. 00004EC4  4A6D A392                tst.w      [A5 - 0x5C6E]
  7680. 00004EC8  6730                     beq        +0x32 /* 00004EFA */
  7681. 00004ECA  2003                     move.l     D0, D3
  7682. 00004ECC  90AD A38E                sub.l      D0, [A5 - 0x5C72]
  7683. 00004ED0  2B40 A382                move.l     [A5 - 0x5C7E], D0
  7684. 00004ED4  2B6D A38E A386           move.l     [A5 - 0x5C7A], [A5 - 0x5C72]
  7685. 00004EDA  426D A392                clr.w      [A5 - 0x5C6E]
  7686. 00004EDE  601A                     bra        +0x1C /* 00004EFA */
  7687. label00004EE0:
  7688. 00004EE0  554F                     subq.w     A7, 2
  7689. 00004EE2  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  7690. 00004EE6  3F3C 0001                move.w     -[A7], 0x1
  7691. 00004EEA  2F03                     move.l     -[A7], D3
  7692. 00004EEC  4EAD D9F4                jsr        [A5 - 0x260C]
  7693. 00004EF0  301F                     move.w     D0, [A7]+
  7694. 00004EF2  6706                     beq        +0x8 /* 00004EFA */
  7695. 00004EF4  70FF                     moveq.l    D0, 0xFFFFFFFF
  7696. 00004EF6  261F                     move.l     D3, [A7]+
  7697. 00004EF8  4E75                     rts
  7698. label00004EFA:
  7699. 00004EFA  2003                     move.l     D0, D3
  7700. 00004EFC  261F                     move.l     D3, [A7]+
  7701. 00004EFE  4E75                     rts
  7702. 00004F00  594F                     subq.w     A7, 4
  7703. 00004F02  554F                     subq.w     A7, 2
  7704. 00004F04  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  7705. 00004F08  486F 0004                pea.l      [A7 + 0x4]
  7706. 00004F0C  4EAD D9EE                jsr        [A5 - 0x2612]
  7707. 00004F10  301F                     move.w     D0, [A7]+
  7708. 00004F12  6604                     bne        +0x6 /* 00004F18 */
  7709. 00004F14  2017                     move.l     D0, [A7]
  7710. 00004F16  6002                     bra        +0x4 /* 00004F1A */
  7711. label00004F18:
  7712. 00004F18  7000                     moveq.l    D0, 0x00
  7713. label00004F1A:
  7714. 00004F1A  584F                     addq.w     A7, 4
  7715. 00004F1C  4E75                     rts
  7716. fn00004F1E:
  7717. 00004F1E  4AAD A37A                tst.l      [A5 - 0x5C86]
  7718. 00004F22  6730                     beq        +0x32 /* 00004F54 */
  7719. 00004F24  4A6F 0004                tst.w      [A7 + 0x4]
  7720. 00004F28  6716                     beq        +0x18 /* 00004F40 */
  7721. 00004F2A  4AAD A37E                tst.l      [A5 - 0x5C82]
  7722. 00004F2E  6624                     bne        +0x26 /* 00004F54 */
  7723. 00004F30  2F2D A37A                move.l     -[A7], [A5 - 0x5C86]
  7724. 00004F34  4EAD EE18                jsr        [A5 - 0x11E8]
  7725. 00004F38  2B48 A37E                move.l     [A5 - 0x5C82], A0
  7726. 00004F3C  584F                     addq.w     A7, 4
  7727. 00004F3E  6014                     bra        +0x16 /* 00004F54 */
  7728. label00004F40:
  7729. 00004F40  4AAD A37E                tst.l      [A5 - 0x5C82]
  7730. 00004F44  670E                     beq        +0x10 /* 00004F54 */
  7731. 00004F46  2F2D A37A                move.l     -[A7], [A5 - 0x5C86]
  7732. 00004F4A  4EAD EE20                jsr        [A5 - 0x11E0]
  7733. 00004F4E  42AD A37E                clr.l      [A5 - 0x5C82]
  7734. 00004F52  584F                     addq.w     A7, 4
  7735. label00004F54:
  7736. 00004F54  4E75                     rts
  7737. 00004F56  0000 0001                ori.b      D0, 0x1
  7738. 00004F5A  4F8D                     .invalid   7, A5 // invalid opcode 4 with b == 6
  7739. 00004F5C  0000 0000                ori.b      D0, 0x0
  7740. 00004F60  0000 0000                ori.b      D0, 0x0
  7741.